UDPSocket.Write
From Xojo Documentation
Method
Writes the data to the specified address.
Method
Constructs a Datagram and sends the data to the specified address.
If the address is part of a multicast group, all members of the group will get the data. If the address is the broadcast address, everyone on the network will get the data. If the address is an IP address, the data is unicast to that address only.
Example
This example uses BroadcastAddress to get the address of the group.
UDPSocket1.Write(UDPSocket1.BroadcastAddress, "Hello World")