> Which TWSocketServer event should I code to retrieve incoming data? Define a private procedure like this : procedure ClientDataAvailable(Sender: TObject; Error: Word);
In the OnClientConnect event, you have to assign an event handler to your client socket. Something like this : Client.OnDataAvailable := ClientDataAvailable; Then, when a client will send data, your ClientDataAvailable procedure will be called. Have a look at the TcpSrv demo. hope this help -- 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