Albert, do you really need multithreadness with ICS? It's asynchronous so you just need one additional thread that will launch and control all sockets. And regarding the leaks, consider using FastMM4 in full debug mode to get more info (i.e. type of variable that has been leaked). DispatchMessage calls all message handlers so it could be any of them that is to blame for leak.
-- Anton -- 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