Archived

This forum has been archived. Please start a new discussion on GitHub.

What is the meaning of "remote address = -1" ?

Hi.

For know the remote address, we call the function Connection::toString(). But sometimes, it return "local address = 192.168.1.36:33402 remote address = -1".

What is the meaning of "remote address = -1" ?:confused:

:)

Thanks,
Gu.

Comments

  • benoit
    benoit Rennes, France
    Hi,

    Can you specify on which Ice version, language mapping and operating system you're seeing this?

    Cheers,
    Benoit.
  • benoit wrote: »
    Hi,

    Can you specify on which Ice version, language mapping and operating system you're seeing this?

    Cheers,
    Benoit.

    We use Ice 3.5.1 in c++.
    OS: Microsoft Windows Server 2008 Standard 64bit 6.0.6001 Service Pack 1 Build 6001

    Is "-1" a normal return value? And is it different on different operating system? :confused:

    GU.
  • benoit
    benoit Rennes, France
    Hi,

    Can you copy/paste the exact value returned by Ice::Connection::toString()? A value of -1 for the port of the remote address most likely indicates that the connection isn't connected. Also, can you specify whether or not this is a regular Win32 application or is this a Windows Store app?

    Cheers,
    Benoit.