Home Help Center

How to get client's IP address?

leojayleojay Member Leo JayOrganization: AOVTechProject: DPMT
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

  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Hi,

    You still need to use the Ice::Connection object. Please see this FAQ.
Sign In or Register to comment.