public interface ServerSocketFactory
Modifier and Type | Method and Description |
---|---|
ServerSocket |
createServerSocket(int port) |
ServerSocket |
createServerSocket(int port,
int backlog)
Returns a server socket which uses all network interfaces on
the host, and is bound to the specified port.
|
ServerSocket |
createServerSocket(int port,
int backlog,
InetAddress ifAddress)
Returns a server socket which uses all network interfaces on
the host, is bound to a the specified port, and uses the
specified connection backlog.
|
ServerSocket createServerSocket(int port) throws IOException
IOException
ServerSocket createServerSocket(int port, int backlog) throws IOException
port
- - the port to listen tobacklog
- - how many connections are queuedIOException
- - for networking errorsServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
port
- - the port to listen tobacklog
- - how many connections are queuedIOException
- - for networking errorsCopyright © 2017 JacORB. All rights reserved.