Results 1 to 2 of 2

Thread: a question about multiple addresses

  1. #1
    mathgl is offline Registered User
    Name: gelin yan
    Organization: RoundTech Research Centre
    Project: large scale vehicle tracing system
    Join Date
    Jan 2010
    Location
    HongKong
    Posts
    23

    a question about multiple addresses

    Hi all

    I noticed the ice support mulitple addresses for proxy like:

    ic.stringToProxy("Servicename:tcp -h host1 -p p1 -h host2 -p p2")


    and communicator may randomly choose one of the addresses. I want to know what happen if one of the nodes is down (assume there are two nodes and one of them is normal and another one is malfunction). Does communicator pick up another one automatically? or I need to do it manually.

    Thanks

    GELIN YAN

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    Have a look at Automatic Retries - Ice 3.4 - ZeroC and Connection Establishment - Ice 3.4 - ZeroC. This explains when and how the Ice runtime will try multiple endpoints.
    Last edited by marc; 07-13-2011 at 07:55 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 03-03-2009, 04:52 PM
  2. icegridnode: local and remote addresses
    By albertods in forum Help Center
    Replies: 1
    Last Post: 03-01-2007, 06:01 AM
  3. Multiple IP addresses
    By mwilson in forum Help Center
    Replies: 1
    Last Post: 11-13-2006, 02:10 PM
  4. Ip Addresses and basic conection questions
    By EmmanuelOga in forum Help Center
    Replies: 5
    Last Post: 07-31-2006, 05:45 PM
  5. Replies: 7
    Last Post: 09-19-2005, 05:36 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
  •