Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-04-2005
andhow andhow is offline
Registered User
 
 
Join Date: Jan 2005
Posts: 16
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.
Reply With Quote
  #2 (permalink)  
Old 02-04-2005
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,534
See Marc's answer on similar questions:

Client Disconnect Callback
IceStorm error reporting hook

Let us know if this doesn't fully answer your question though!

Cheers,

Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to determine the reason of a destroyed session joel vennin Help Center 3 08-10-2006 09:19 PM
about avoiding to kill server by icegridnode reconnection ChenQingQing Help Center 1 07-03-2006 04:32 AM
determine messagesize during runtime DeepDiver Help Center 3 01-26-2006 08:22 AM
About the Proxy's lifetime level Help Center 2 11-22-2005 09:34 AM
servant lifetime nsns Help Center 1 11-05-2004 08:04 AM


All times are GMT -4. The time now is 09:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.