Home Help Center

A question about Client and Server program in different host

eheroehero Member
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.


  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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!

Sign In or Register to comment.