OptionaldstOptionaldstThe destination port for the outgoing packet.
Defaults to the port from the constructor options.
OptionalsrcThe source address to use for the outgoing packet.
If not specified (and useMulticastSocket is not set), the packet is sent
from all underlying unicast sockets.
OptionaluseIf true, sends the packet via the shared multicast socket instead of the
per-interface unicast sockets. Combine with srcAddress to control which
interface the multicast socket uses; without it, the OS chooses the interface.
The destination address for the outgoing packet.
Defaults to the
multicastGroupaddress from the constructor options. Set this to send a unicast message to a specific host instead.