Hello Markus, > So the sending part must be in another thread and call MessageLoop as well > until the OnDataSent terminates the thread?
No you may only call methods of a component in general in the same thread context as the one where they are created. Same thing for the message pump, you have to call the one "in" and "from" the thread that created the pump. --- Rgds, Wilfried http://www.mestdagh.biz -- 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