udp
ErrorsCollection

udp

Synthesised documentation from type/IO/Socket/Async

From type/IO/Socket/Async

See Original text in context

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.