Package | Description |
---|---|
javax.net | |
javax.net.ssl |
Modifier and Type | Method and Description |
---|---|
ServerSocket |
ServerSocketFactory.createServerSocket()
Returns an unbound server socket.
|
abstract ServerSocket |
ServerSocketFactory.createServerSocket(int port)
Returns a server socket bound to the specified port.
|
abstract ServerSocket |
ServerSocketFactory.createServerSocket(int port,
int backlog)
Returns a server socket bound to the specified port, and uses the specified connection backlog.
|
abstract ServerSocket |
ServerSocketFactory.createServerSocket(int port,
int backlog,
InetAddress ifAddress)
Returns a server socket bound to the specified port, with a specified listen backlog and local IP.
|
Modifier and Type | Class and Description |
---|---|
class |
SSLServerSocket
This class extends
ServerSocket s and provides secure server sockets using protocols such as the Secure
Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. |