Re: [twsocket] Disconnect detection

2006-08-17 Thread Wilfried Mestdagh
Hello Frédéric, If you start a new subject pleasd do Not reply to an existing subject but start a new one. It is really not mutch work. > What's the best way to detect a broken connection. When connection will break then OnSessionClosed will fire. There you start a timer and after some seconds o

Re: [twsocket] Disconnect detection

2006-08-16 Thread Francois Piette
) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: "Frédéric SCHENCKEL" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, August 16, 2006 9:22 PM Subject: [twsocket] Disconnect detection > > He

[twsocket] Disconnect detection

2006-08-16 Thread Frédéric SCHENCKEL
Hello, I have a TWSocket who connects to a printer. What's the best way to detect a broken connection. TWSocket is only waiting for data from the printer (special printer...) therefore I do a TWSocket.connect. When the printer is Offline (power off for example) after the connection is esta