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

Performs a network operation.

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