Hello David, you receive first 50, and then OnDataAvailble will be fired again immedialty where you receive next 50. So there is no problem.
--- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Wednesday, November 2, 2005, 02:20, Kei wrote: > if I specify a buffer that is actually not big enough to hold a packet, > then what will happen? > e.g. > var > myBuffer: array[0..50] of char; > receivedSize: longint; > receivedSize := MywSock.receive(myBuffer); > if the socket wants to give me 100 bytes but I only have 50.. what will > happen? > David -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be