Represents a connected datagram socket.
Attach channel for reading so incoming bytes appears in the attached channel. Only one channel could be attached
Attach channel for writing so bytes written to the attached channel will be transmitted Only one channel could be attached
Receive a datagram.
Incoming datagrams channel
Local socket address. Could throw an exception if no address bound yet.
Datagram outgoing channel.
Remote socket address. Could throw an exception if the peer is not yet connected or already disconnected.
Represents a socket lifetime, completes at socket closure