Archived

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

How to get ICE EndPoints Info...

Dear Sir,

When I set xxx.Endpoints = tcp -p 9999, ICE would automaticlly listen on all local Ip Interface. My question is how to get the Ip info which ICE is listening on.

Thanks.

Comments

  • benoit
    benoit Rennes, France
    Hi,

    You can set the Ice.Trace.Network property to 1. The tracing will show the interfaces your server is listening on. Otherwise, there's no way to get this information programatically (at least not directly, you could check for the endpoints of proxies created by the adapter but this might not correspond to the endpoints the object adapter is listening on if <adapter name>.PublishedEndpoints is set...).

    Cheers,
    Benoit.