I have several Ethernet ports in my computer, and I am trying to write a VI that sends data from one port to the other (for debugging an issue). I was planning on using the TCP Open and other TCP VIs, but the TCP Open does not seem to have an input to tell it which local Ethernet port I want to use.
So, is it possible to specify which Ethernet port you want your TCP connection to be open on? How about UDP?
I am not sure the local port input really specifies the actual RJ-45 connector you want to use, but rather the "TCP" port, a number such a 3880, and the like.
If you do know that it does allow you to choose the RJ-45 connector, how do you map that u16 to the hardware you want to use?
Port means TCP port. If you want to use a specific nic, then that decision is up to the OS. If each is set for a different subnet, then the OS will choose the one based on the address you use with the TCP Open.