method bind-udp

Documentation for method bind-udp assembled from the following types:

class IO::Socket::Async

From IO::Socket::Async

(IO::Socket::Async) method bind-udp

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.