pub fn connect(args: &[Value]) -> ValueExpand description
net.connect(...) / net.createConnection(...): build a Socket and start
the connection immediately. Returns the socket synchronously; the connect
event fires on the main thread once the TCP handshake completes.