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

Creates a socket and connects when endpoint parameters are provided.

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