|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface used to create server sockets.
Method Summary | |
java.net.ServerSocket |
createServerSocket(int port)
Creates a socket on specified port. |
java.net.ServerSocket |
createServerSocket(int port,
int backLog)
Creates a socket on specified port with a specified backLog. |
java.net.ServerSocket |
createServerSocket(int port,
int backLog,
java.net.InetAddress bindAddress)
Creates a socket on a particular network interface on specified port with a specified backLog. |
Method Detail |
public java.net.ServerSocket createServerSocket(int port) throws java.io.IOException
port
- the port
java.io.IOException
- if an error occurspublic java.net.ServerSocket createServerSocket(int port, int backLog) throws java.io.IOException
port
- the portbackLog
- the backLog
java.io.IOException
- if an error occurspublic java.net.ServerSocket createServerSocket(int port, int backLog, java.net.InetAddress bindAddress) throws java.io.IOException
port
- the portbackLog
- the backLogbindAddress
- the network interface to bind to.
java.io.IOException
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |