Can I Use DataSocket on a Machine That Has Two Ethernet Cards? Primary Software: Other NI Software>>DataSocketPrimary Software Version: 4.2 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have a computer that has two ethernet cards, and I would like to communicate via DataSocket to some other machines. How can I control which ethernet card is being used when doing my communication? Solution: DataSocket communication is 'client-side' controlled. Therefore, a good solution for controlling which ethernet card is being used is to setup the DataSocket server on the machine with both ethernet cards. The server will respond to queries from clients on both IP addresses. To control which IP address (ethernet card) is being used, simply refer to the unique IP address in the DataSocket functions (Open Connection, Read, Write, etc.) on the clients, and the traffic will be routed through that ethernet card. (See image below) Related Links: Attachments:
Report Date: 03/15/2004 Last Updated: 04/21/2006 Document ID: 37E7KQI3 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
