bind-udp
ErrorsCollection

bind-udp

Synthesised documentation from type/IO/Socket/Async

From type/IO/Socket/Async

See Original text in context

method bind-udp(IO::Socket::Async:U: Str() $hostInt() $port:$broadcast --> IO::Socket::Async)

This returns an initialized IO::Socket::Async server object that is configured to receive UDP messages sent to the specified $host and $port and is equivalent to listen for a TCP socket. The :broadcast adverb can be specified to allow the receipt of messages sent to the broadcast address.