Archived
This forum has been archived. Please start a new discussion on GitHub.
avoiding ping()ing to determine client's lifetime
Given two objects where one acts as a server to the other, is there a more elegant way to find out if a client has left other than regular ping()ing? Watching the Ice.Trace messages, I see that ICE rt knows when the tcp socket is closed, though I know there are other complex workings that wouldn't make it so straightforward.
The situation I want to handle is when a client crashes and is not able to send a logoff() type message. I apologize if I missed this in the documentation, I looked for a while.
The situation I want to handle is when a client crashes and is not able to send a logoff() type message. I apologize if I missed this in the documentation, I looked for a while.
0
Comments
-
See Marc's answer on similar questions:
http://www.zeroc.com/vbulletin/showthread.php?t=807
http://www.zeroc.com/vbulletin/showthread.php?t=378
Let us know if this doesn't fully answer your question though!
Cheers,
Benoit.0