Returns the address to which this socket is connected.
Gets the local address to which the socket is bound.
Returns the port number on the local host to which this socket is bound.
Returns the address of the endpoint this socket is bound to, or null if it is not bound yet.
Returns the remote port for this socket.
Get value of the SO_RCVBUF option for this DatagramSocket, that is the buffer size used by the platform for input on this DatagramSocket.
Returns the address of the endpoint this socket is connected to, or null if it is unconnected.
Tests if SO_REUSEADDR is enabled.
Get value of the SO_SNDBUF option for this DatagramSocket, that is the buffer size used by the platform for output on this DatagramSocket.
Retrieve setting for SO_TIMEOUT.
Gets traffic class or type-of-service in the IP datagram header for packets sent from this DatagramSocket.
Returns the binding state of the socket.
Returns whether the socket is closed or not.
Returns the connection state of the socket.
Class providing general information about a Molecule socket.