LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to broadcast one message to all the IP addresses on my network?

Rather than sending a separate message to each computer, I'd like to send one message over my standard TCP/IP network, and have all computers get that message.
0 Kudos
Message 1 of 3
(4,498 Views)
You can send an UDP packet to the subnet broadcast address (e.g. x.x.x.255 for a /24 subnet) and the desired port.

Newer LabVIEW version also support UDP multicast, check the online help.


(It must be a connectionless protocol such as UDP. You cannot use TCP of course).
0 Kudos
Message 2 of 3
(4,491 Views)
If they were windows machines you could use: -

NET SEND "Server shut down in 2 minutes"

command to broadcast a message, reception on machines can be turned off.
Syntax
NET SEND
{name | * | /DOMAIN[:name] | /USERS} message
0 Kudos
Message 3 of 3
(4,485 Views)