Query hostname based on connection information

in Help Center
Hi,
Ice 3.5.1
Configuration:
XYZ.Proxy=XYZ:tcp -h localhost -p 10000
At runtime from the client, what is best way to get the "just" the hostname (not the ip address) and port?
Regards,
Vishwa
Ice 3.5.1
Configuration:
XYZ.Proxy=XYZ:tcp -h localhost -p 10000
At runtime from the client, what is best way to get the "just" the hostname (not the ip address) and port?
Regards,
Vishwa
0
Comments
In C++, you would do something along those lines to print out the host/port specified in the proxy endpoint:
Cheers,
Benoit.
Thanks