klyn.net.ServerSocket.bind
method
public bind(port as Int, backlog as Int, host as String) as Void throws IOException:
Description

Binds and starts listening.

Throws
  • IOException if the socket stream is closed, disconnected, times out, or the underlying network I/O fails.