Home Help Center

Here I go Again incarnated (Using Icepy from multiple machine/ OS).

alexmalexm Member Eskinder Alex MesfinOrganization: Medtronic, Inc.Project: www.medtronic.com
I am working on a proof of concept using IcePy for a client/server, most of the demo comes with the distribution are good only when run localized.
For example.
In the demo/Ice/callback the config file is where the contact info (Proxy in ICE lingo) is defined, and how can I modify it to make the server on a static location, and the client run from any machine (IP address).

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi Alex,

    One of the FAQs in the March issue of our newsletter addresses this topic.

    Take care,
    - Mark
  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Hi Alex,

    All you need to do to run the server on a separate machine is specifiy proper host information in the endpoint/proxy configuration in the config file. For example if your server is running on host 192.168.1.1 then you would modify the configuration entries to look as follows:

    Callback.Client.CallbackServer=callback:tcp -p 10000 -h 192.168.1.1:udp -p 10000 -h 192.168.1.1:ssl -p 10001 -h 192.168.1.1
    Callback.Server.Endpoints=tcp -p 10000 -h 192.168.1.1:udp -p 10000 -h 192.168.1.1:ssl -p 10001 -h 192.168.1.1

    Regards,
    Dwayne
  • alexmalexm Member Eskinder Alex MesfinOrganization: Medtronic, Inc.Project: www.medtronic.com
    Thanks that helped, hope next time around I will ask hard question.
Sign In or Register to comment.