Results 1 to 7 of 7

Thread: How can I know disconnection status ?

  1. #1
    laotee is offline Registered User
    Join Date
    Jun 2005
    Posts
    41

    How can I know disconnection status ?

    The sever and client of ICE are installed on different computer.If the client disconnected with the sever,then how the client of ICE know disconnection status?

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    Quote Originally Posted by laotee
    The sever and client of ICE are installed on different computer.If the client disconnected with the sever,then how the client of ICE know disconnection status?
    If you use active connection management in the server then the server can disconnect the client at any point. In general connection status is a poor indication of whether the peer, whether client or server, is still alive. Instead you would be well advised to use some other scheme, such as session management. The Glacier2 router provides session management APIs -- see issue 1 and 2 of Connections for information on why Glacier is a good thing. However, if this is too heavy See demo/Ice/session for an example of how to implement in a simple manner. The upcoming issue of Connections will have an article on this demo.

    Regards, Matthew

  3. #3
    skyriver is offline Registered User
    Join Date
    Jun 2005
    Posts
    9

    Smile

    Thanks for your help!

  4. #4
    laotee is offline Registered User
    Join Date
    Jun 2005
    Posts
    41
    First,Thank you.
    But I don't understand what you said.Can you tell me more information about this question?

    laotee

  5. #5
    laotee is offline Registered User
    Join Date
    Jun 2005
    Posts
    41
    I don't find that article in ICE-1.5.1.Can you give me that example and article?
    Last edited by laotee; 06-02-2005 at 02:20 AM.

  6. #6
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    Check here: http://www.zeroc.com/newsletter

    Benoit.

  7. #7
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    Quote Originally Posted by laotee
    First,Thank you.
    But I don't understand what you said.Can you tell me more information about this question?

    laotee
    I'm afraid all I could is rewrite my original response, but I doubt this would be helpful. What exactly would you like to know?

    Regards, Matthew

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 9
    Last Post: 04-22-2008, 05:15 AM
  2. Mono and IceSSL Status
    By tkrieger in forum Help Center
    Replies: 6
    Last Post: 11-10-2006, 08:29 AM
  3. about the status of client
    By simpley in forum Help Center
    Replies: 1
    Last Post: 04-27-2005, 04:04 AM
  4. Status on wstring?
    By jgaa in forum Help Center
    Replies: 2
    Last Post: 03-21-2005, 08:59 PM
  5. Connection Status
    By rhochmuth in forum Help Center
    Replies: 1
    Last Post: 10-03-2003, 09:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •