In IO::Socket::Async§
See primary documentation in context for method udp
method udp(IO::Socket::Async:U: :$broadcast --> IO::Socket::Async)
Returns an initialized IO::Socket::Async
client object that is configured to send UDP messages using print-to
or write-to
. The :broadcast
adverb will set the SO_BROADCAST
option which will allow the socket to send packets to a broadcast address.