Archived

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

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

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

  • mes
    mes California
    Hi Alex,

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

    Take care,
    - Mark
  • dwayne
    dwayne St. John's, Newfoundland
    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
  • Thanks that helped, hope next time around I will ask hard question.