Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Problem in receiving on Different TCP/IP stack: (1 Item)
   
Problem in receiving on Different TCP/IP stack  
Hi,

I am new to TCP/IP programming.

My m/c contains only one card .I am running the following commands on different nodes.

io-net -i1 -ptcpip prefix=/sock2 on m/c 1 (10.105.153.203)
io-net -i1 -ptcpip prefix=/sock2 on m/c 1 (10.105.153.204)

So i am attaching my test code please tell me where is the problem.
I am able to send and receive data on tcp/ip stack (sock2) by setting env SOCK in my code(application) on same node 
means in client i am setting (127.0.0.1) and receiving on(SOCK = /sock2).

I am not able to receive when i am running the client on (remote node 10.105.153.204 SOCK=/sock2 or on default one) and 

server on (10.105.153.203 SOCK=/sock2).

Please let me know the solution.
Attachment: Compressed file socket.zip 1.18 KB