svennkjetil
Programmer
Hi.
I have two TCP/IP-programs written in C for receiving data from one client. Both programs receive from the same IP-address, but use port 2001 and 2002.
When I establish a socket I receive the same descriptor for both programs. Is this possible since they use different ports or is something wrong?
The same happens with the descriptor returned from function accept()...
I also often get the error: 239 connection refused.
What does this mean?
Svenn Kjetil
I have two TCP/IP-programs written in C for receiving data from one client. Both programs receive from the same IP-address, but use port 2001 and 2002.
When I establish a socket I receive the same descriptor for both programs. Is this possible since they use different ports or is something wrong?
The same happens with the descriptor returned from function accept()...
I also often get the error: 239 connection refused.
What does this mean?
Svenn Kjetil