07-06-2009 04:31 PM
I have a Linux machine that is configured to have two IP addresses (192.168.0.X), with one physical ethernet jack. When running a program on it (employing TCP Listen.vi) to establish an ethernet connection to a remote machine, it works great. If the program is re-entrant and I have two of the programs running simultaneously, each wired with a unique IP address and port number, it still works great. If I use the same IP address for both of them, but unique port numbers, it still works great. However, if I use unique IP addresses but the same port number for both of them, I get Error 60 (connection already in use).
For example,
192.168.0.11:6000 and 192.168.0.12:6001 --> OK
192.168.0.11:6000 and 192.168.0.11:6001 --> OK
192.168.0.11:6000 and 192.168.0.12:6000 --> Error 60
I've tried wiring in the specific IP address into TCP Listen.vi, to no avail.
Any ideas on why this might be occurring?
Thank you in advance.
Solved! Go to Solution.
07-07-2009 01:34 PM
07-10-2009 06:58 PM
Attached is a fix for the problem, after discussing this with an NI engineer.
07-13-2009 09:48 AM