function connect
Usage in Deno
import { connect } from "node:net";
connect(options: NetConnectOpts,connectionListener?: () => void,): Socket
connect(port: number,host?: string,connectionListener?: () => void,): Socket