Disconnects this channel's underlying socket.
Disconnects this channel's underlying socket.
the disconnected datagram channel
Tells whether this channel's underlying socket is both open and connected.
Tells whether this channel's underlying socket is both open and connected.
true
when the socket is both open and connected, otherwise false
Tells whether or not this channel is open.
Tells whether or not this channel is open.
Optionally returns the socket address that this channel's underlying socket is bound to.
Optionally returns the socket address that this channel's underlying socket is bound to.
the local address if the socket is bound, otherwise None
Receives a datagram via this channel into the given zio.nio.core.ByteBuffer.
Receives a datagram via this channel into the given zio.nio.core.ByteBuffer.
the destination buffer
the socket address of the datagram's source, if available.
Optionally returns the remote socket address that this channel's underlying socket is connected to.
Optionally returns the remote socket address that this channel's underlying socket is connected to.
the remote address if the socket is connected, otherwise None
Sends a datagram via this channel to the given target zio.nio.core.SocketAddress.
Sends a datagram via this channel to the given target zio.nio.core.SocketAddress.
the source buffer
the target address
the number of bytes that were sent over this channel
Sets the value of the given socket option.
Sets the value of the given socket option.
the socket option to be set
the value to be set
the datagram channel with the given socket option set to the provided value
Returns a reference to this channel's underlying datagram socket.
Returns a reference to this channel's underlying datagram socket.
the underlying datagram socket
Returns the set of operations supported by this channel.
Returns the set of operations supported by this channel.
the set of valid operations
A java.nio.channels.DatagramChannel wrapper allowing for idiomatic zio.ZIO interoperability.