Hello Markus, Why not .free the socket thru a message sent in .OnClose event ? This is a better way than doing a sleep(x) that tends to defeat asynchronous ICS model, you' better thing in term of events.
Also you could not free you TWSocket but re-use later as you maintain a TObjectList of already create TWSocket so just add some FUsed:boolean; property to see if it is still used. But may be François will answer better. Regards. -- 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