public class DefaultServerSocketFactory extends Object implements ServerSocketFactory
ServerSocketFactory; creates standard ServerSocket instances.| Constructor and Description |
|---|
DefaultServerSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(int port)
Create a new ServerSocket for the specified port.
|
public ServerSocket createServerSocket(int port) throws IOException
createServerSocket in interface ServerSocketFactoryport - - the portIOException - - if an error occursServerSocketFactory.createServerSocket(int)Copyright © 2016. All rights reserved.