Re: [twsocket] detecting disconnect from twsocketserver

2005-06-27 Thread Arno Garrels
Frank Wunderlich wrote: You could check a 'last alive' time stamp stored in your client class. Cleanup the client after a timeout has elapsed. Use a single Timer to check all clients actually in the list in intervals. Arno Garrels > is there a procedure to send something d

Re: [twsocket] detecting disconnect from twsocketserver

2005-06-27 Thread Frank Wunderlich
> >> You could check a 'last alive' time stamp stored in your client class. > >> Cleanup the client after a timeout has elapsed. Use a single Timer to > >> check all clients actually in the list in intervals. > >> > >> Arno Garrels is there a procedure to send something direct to the clients or do

Re: [twsocket] detecting disconnect from twsocketserver

2005-06-27 Thread Wilfried Mestdagh
Hello Frank, > e.g. when the lan-cable is taken out. > the client detects the disconnect It will detect when it try to send something, in most cases it will NOT detect anything. Thats the nature of TCP. As Arno stated you have to maintain keep alive packets in your protocol if you want to be warn

Re: [twsocket] detecting disconnect from twsocketserver

2005-06-27 Thread Arno Garrels
Frank Wunderlich wrote: >> You could check a 'last alive' time stamp stored in your client class. >> Cleanup the client after a timeout has elapsed. Use a single Timer to >> check all clients actually in the list in intervals. >> >> Arno Garrels > > sure but how can i check the clients are reacha

Re: [twsocket] detecting disconnect from twsocketserver

2005-06-27 Thread Frank Wunderlich
> You could check a 'last alive' time stamp stored in your client class. > Cleanup the client after a timeout has elapsed. Use a single Timer to > check all clients actually in the list in intervals. > > Arno Garrels sure but how can i check the clients are reachable? frank -- Weitersagen: GMX

Re: [twsocket] detecting disconnect from twsocketserver

2005-06-27 Thread Arno Garrels
Frank Wunderlich wrote: > Hi, > i've trying to detect when a client is abnormal disconnected from the > server (calling not the close-procedure). e.g. when the lan-cable is > taken out. the client detects the disconnect,but the server don't call the > OnClientDisconnect. > > How can i realize that

[twsocket] detecting disconnect from twsocketserver

2005-06-27 Thread Frank Wunderlich
Hi, i've trying to detect when a client is abnormal disconnected from the server (calling not the close-procedure). e.g. when the lan-cable is taken out. the client detects the disconnect,but the server don't call the OnClientDisconnect. How can i realize that? Greets frank -- Geschenkt: 3 Mona