$asyncSocketChannelDesc
$asyncSocketChannelDesc
Binds the channel's socket to a local address
Binds the channel's socket to a local address
the local address to bind the socket, or null to bind to an automatically assigned socket address
$closeDesc
Asks the socket address that this channel's socket is bound to
Receives a packet via this channel.
Receives a packet via this channel. If a datagram is not available after the timeout then this method returns scala.None.
if the value is smaller than the size required to hold the datagram, then the remainder of the datagram is silently discarded.
the receive timeout
the packet, or scala.None if no datagram was available before timeout
Sends a datagram via this channel
Sends a datagram via this channel
the packet to be sent
A
Task
based asynchronous channel for reading, writing, and manipulating an UDP socket.On the JVM this is a wrapper around java.nio.channels.DatagramChannel