klyn.net.Socket.connect
method
public connect(host as String, port as Int) as Void throws IOException:
Description

Connects this socket.

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