Easy way to get endpoint of client

in Help Center
Hi:
In the callback demo, client pass the proxy pointed to itself to server, make the server know the client.
I checked the online manual, found that there's no method to retrive the endpoint of the client from proxy, such as proxyToString() or something like this, so is there any easy way to get such infomation like IP, port? No matter from server side or from client side, just retrive the client endpoint info.
Thanks
Rains
In the callback demo, client pass the proxy pointed to itself to server, make the server know the client.
I checked the online manual, found that there's no method to retrive the endpoint of the client from proxy, such as proxyToString() or something like this, so is there any easy way to get such infomation like IP, port? No matter from server side or from client side, just retrive the client endpoint info.
Thanks
Rains
0
Comments
Given a proxy you can also find out the information by calling ice_getEndpoints on the proxy. Once you have the endpoints, you can call toString() on each.