Home Help Center

How to get ICE EndPoints Info...

JaneShangJaneShang Member YuLiang, ShangOrganization: Korea Advance Insitute of Science and Technology.Project: Human Robitics Remote Controller
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

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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.
Sign In or Register to comment.