ServerSocket « java.net « Java by API






1.new ServerSocket(int port)
2.ServerSocket: accept()
3.ServerSocket: bind(SocketAddress endpoint)
4.ServerSocket: getLocalPort()
5.ServerSocket: readUTF() and writeUTF(String str)
6.ServerSocket: setSoTimeout(int timeout)