net/ServerSocket

class ServerSocket
extends:Socket
static method newServerSocket
method init
method bind(port: Int)
Bind a local port to the socket.
method bind~withAddr(addr: SocketAddress)
Bind a local address to the socket.
method listen(backlog: Int)
Places the socket into a listening state.
method acceptStreamSocket

Accept an incoming connection and returns it.

This method will normally block if no connection is available immediately.

This Page