DZ-Jay wrote: > On Dec 6, 2007, at 04:28, Francois Piette wrote: > >> For some reason, you call PutDataInSendBuffer after it has already >> been freed. > > After the object was freed, or the buffer was freed?
The buffer is freed in the destructor of TCustomWSocket. > Keep in mind > that I just called WSocketThrdServer.Free, so it was problably > destroying the object while it was attempting to send...? > If so, how > can I prevent this? I think it helps to disconnect all, then destroy the server object after all clients have been actually disconnected. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be