> i converted the indy client and server To TWsocket and Twsocket > server and here is the code of server after convert
No idea why you want anyone to look at Indy derived code, there are several ICS samples that illustrate client server applications. Or just use the free Magenta Systems IP Log Streaming Component which combines TWsocket and Twsocket and his simple events to connect, send and receives lines of data. http://www.magsys.co.uk/delphi/magics.asp Angus -- 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