Re: [twsocket] Socket - TimeOut

2005-10-19 Thread Wilfried Mestdagh
Hello Werner, > so far I've red that after the connect, > onDataAvailable will fired direct, but is this when also when no data comes > in? That was the case on NT4 and on W2K, never checked it on XP. But I should nor rely on this. Just send your data in OnSessionConnected and set a timer. When O

Re: [twsocket] Socket - TimeOut

2005-10-19 Thread Werner
Thank, Thanks, I'll check the receive function An other Q. about TimeOut After connect to the server, I send a string 'SENDDATA' In OnDataAvailable, i check for incoming data, but when no data arives, then I want to close the connection. Now I'm using a separate timer to check this. Is there an o