Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - TCP/IP servers, client and remoute start by on: (1 Item)
   
TCP/IP servers, client and remoute start by on  
There are 2 controllers under QNX 6.5.0 A1 and A2, connected by qnet  and TCP-IP with static IP-addresses on the same 
subnet.

On the controller A1 in rc.local script the server program sA1 start,  open the Socket and wait for requests from 
clients over TCP.

On the controller  A2 in rc.local script the server program sA2 start, open the Socket and wait for requests from 
clients over TCP.

If the client program cl  run on controller A1

#cl &

it connected by the default location localhost  to the server sA1 and makes requests to the server sA1.

If the client program cl run remotely from the controller A1 on the controller A2:

#on -n A2 cl &

to which server it will connect (sA1 or sA2)?

It seems that to sA1 ...  If so, why?

How to remotely run the client cl from A1 controller on A2 controller, so that  client  by  localhost will connected to 
the sA2 server?

Thank you.