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

A question about Client and Server program in different host

For example, Client.exe in
Server.exe in
How to run Client.exe with command argument to communicate with Server.exe?
There is no reference in the Document of Ice1.5 and Ice2.0.
Please help me.


  • benoit
    benoit Rennes, France
    Assuming you're using the client and server from the Ice hello demo (located in Ice-2.1.0/demo/Ice/hello), you just need to change the following properties in the configuration file:
    • Hello.Endpoints=tcp -h -p 10000, this property will instruct the server `Hello' object adapter to listen on the network interface with the ip address and the port 10000. This property is only used by the server.
    • Hello.Proxy=hello:tcp -p 10000 -h, this property is used by the client to find the `hello' object. This property is only used by the client.

    Let us know if you need more information!