Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.net.ServerSocket

Availability: JDK 1.0

public class ServerSocket extends Object {
   // Public Constructors
      public ServerSocket(int port) throws IOException;
      public ServerSocket(int port, int backlog) throws IOException;
1.1  public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException;
   // Class Methods
      public static synchronized void setSocketFactory(SocketImplFactory fac) throws IOException;
   // Public Instance Methods
      public Socket accept() throws IOException;
      public void close() throws IOException;
      public InetAddress getInetAddress();
      public int getLocalPort();
1.1  public synchronized int getSoTimeout() throws IOException;
1.1  public synchronized void setSoTimeout(int timeout) throws SocketException;
      public String toString();  // Overrides Object.toString()
   // Protected Instance Methods
1.1  protected final void implAccept(Socket s) throws IOException;
}
Returned By:
RMISocketFactory.createServerSocket().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.