PPT Slide
public ServerSocket(int port);
Creates a server socket on a specified port.
public ServerSocket(int port, int backlog);
Creates a server socket and binds it to the specified
(int port, int backlog, InetAddress bindAddr);
Create a server with the specified port, listen backlog,
and local IP address to bind to.
Listens for a connection to be made to this socket and accepts it.
public InetAddress getInetAddress();
Returns the local address of this server socket.