| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ServerSocket | createServerSocket(int port)
Implements abstract java. Implements java. Create a server socket on the specified port (port 0 indicates an anonymous port). |
| public Socket | createSocket(String host, int port)
Implements abstract java. Implements java. Creates a client socket connected to the specified host and port. |
| TCPDirectSocketFactory | back to summary |
|---|---|
| public TCPDirectSocketFactory() | |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port) throws IOException Implements abstract java. Implements java. Doc from java. Create a server socket on the specified port (port 0 indicates an anonymous port).
| |
| createSocket | back to summary |
|---|---|
| public Socket createSocket(String host, int port) throws IOException Implements abstract java. Implements java. Doc from java. Creates a client socket connected to the specified host and port.
| |