src/main/java/org/jboss/net/sockets/TimeoutServerSocketFactory.java
/**
    * Create a server socket on the specified port (port 0 indicates
    * an anonymous port).
    *
    * @param port the port number
    * @return the server socket on the specified port
    * @throws java.io.IOException if an I/O error occurs during server socket
    *    creation
    * @since 1.2
    */
Create a server socket on the specified port (port 0 indicates
an anonymous port).

@param port the port number
@return the server socket on the specified port
@throws java.io.IOException if an I/O error occurs during server socket
creation
@since 1.2
Create a server socket on the specified port ( port 0 indicates an anonymous port ) . @param port the port number @return the server socket on the specified port @throws java . io . IOException if an I / O error occurs during server socket creation @since 1 . 2
public ServerSocket createServerSocket(int port) throws IOException
   {
      ServerSocket activeSocket = new TimeoutServerSocket(port, backlog, bindAddress);
      return activeSocket;
   }
public ServerSocket createServerSocket ( int port ) throws IOException { ServerSocket activeSocket = new TimeoutServerSocket ( port , backlog , bindAddress ) ; return activeSocket ; }
Create a server socket on the specified port (port 0 indicates
 an anonymous port).
Create a server socket on the specified port ( port 0 indicates an anonymous port ) .