method udp
1 | class IO::Socket::Async |
1.1 | (IO::Socket::Async) method udp |
Documentation for method udp
assembled from the following types:
class IO::Socket::Async
From IO::Socket::Async
(IO::Socket::Async) method udp
method udp(IO::Socket::Async: : --> 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.