08-20-2013 02:22 PM
Hi !
We are building a system in which a server communicates with a multi-homed Linux client with three network interfaces. All interfaces are routable to the server, but the server only accepts connections from one of those interfaces.
We need the server to specify different local source addresses for each client but the Open_TCP_Connection vi does not provide the capability to specify the local source address. Is there a way in LabVIEW open a TCP client connection and specify the source address?
Thanks,
-John
08-20-2013
07:36 PM
- last edited on
11-06-2024
06:47 PM
by
Content Cleaner
I don't have a good picture in my head of what you're trying, but might the "TCP Create Listener Function" help?
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/tcp-create-listener.html
Example: TCP Communicator - Passive.vi
08-21-2013 06:57 AM
Yes, we thought about that, but wouldn't Create_Listener require the client to open the connection? We would like to the server to initiate the connection; just wish there was a way to wire the source address to the vi.
08-21-2013 10:18 AM
What you are describing would mean that your server machine is creating client to communicate with another server. Client never accept a connection. They alwasy connect to a server.