Documentation for method
print-to assembled from the following types:
method print-to(IO::Socket::Async: Str() , Int() , Str() --> Promise)
This is the equivalent of
udp method, it will try send a UDP message of
$str to the specified
$port returning a Promise that will be kept when the data is successfully sent or broken if it was unable to send the data. In order to send to a broadcast address the
:broadcast flag must have been specified when the socket was created.