Generated by
JDiff

Class java.net.ServerSocket

Added Constructors
ServerSocket() Creates an unbound server socket.
 

Added Methods
void bind(SocketAddress) Binds the ServerSocket to a specific address (IP address and port number).
void bind(SocketAddress, int) Binds the ServerSocket to a specific address (IP address and port number).
ServerSocketChannel getChannel() Returns the unique java.nio.channels.ServerSocketChannel object associated with this socket if any.
SocketAddress getLocalSocketAddress() Returns the address of the endpoint this socket is bound to or null if it is not bound yet.
int getReceiveBufferSize() Gets the value of the SO_RCVBUF option for this ServerSocket that is the proposed buffer size that will be used for Sockets accepted from this ServerSocket.
boolean getReuseAddress() Tests if SO_REUSEADDR is enabled.
boolean isBound() Returns the binding state of the ServerSocket.
boolean isClosed() Returns the closed state of the ServerSocket.
void setReceiveBufferSize(int) Sets a default proposed value for the SO_RCVBUF option for sockets accepted from this ServerSocket.
void setReuseAddress(boolean) Enable/disable the SO_REUSEADDR socket option.