public class DefaultServerSocketFactory extends java.lang.Object implements ServerSocketFactory
ServerSocketFactory; creates standard ServerSocket instances.| Constructor and Description |
|---|
DefaultServerSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.net.ServerSocket |
createServerSocket(int port)
Create a new ServerSocket for the specified port.
|
public java.net.ServerSocket createServerSocket(int port)
throws java.io.IOException
createServerSocket in interface ServerSocketFactoryport - - the portjava.io.IOException - - if an error occursServerSocketFactory.createServerSocket(int)