Skip to main content

connect

Function connect 

Source
pub fn connect(args: &[Value]) -> Value
Expand 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.