LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lan communication one to many

The listener (on a specific port) waits for an incoming connection on that port and uses it to open a TCP connection on a random available port and frees up the listener for other incoming connections.

 

The TCP Wait On Listener VI returns a TCP Connection reference when a client connects. You pass this reference into your handler and can use it for TCP Read/Writes.

 

For your asynchronous communications your server would read an incoming 'message' and then probably send a reply back. If you want your server to send a synchronous message then just do a TCP Write to your client from the handler.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 11 of 11
(448 Views)