Archived

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

How to get client's IP address?

I'd like to get the IP address of the client, and I searched the forum, found a post 5 years ago:
http://www.zeroc.com/forums/help-center/1086-how-get-clients-ip-address.html

It said that the only way I can do is to parse the result of toString() on the Ice::Connection object.

Is there any decent way today?

Thanks.

Comments

  • dwayne
    dwayne St. John's, Newfoundland
    Hi,

    You still need to use the Ice::Connection object. Please see this FAQ.