Represents a bound datagram socket
Incoming datagrams channel
Check if the socket is closed
Local socket address. Could throw an exception if no address bound yet.
Datagram outgoing channel.
Represents a socket lifetime, completes at socket closure
Attach channel for reading so incoming bytes appears in the attached channel. Only one channel could be attached
expect abstract fun close()
Open a read channel, could be done only once