function connect
Jump to headingconnect(options: NetConnectOpts,connectionListener?: () => void,): Socket
Aliases to createConnection.
Possible signatures:
Parameters Jump to heading
Jump to headingoptions: NetConnectOpts
optional
Jump to headingconnectionListener: () => void
Return Type Jump to heading
Jump to headingconnect(port: number,host?: string,connectionListener?: () => void,): Socket
Parameters Jump to heading
Jump to headingport: number
optional
Jump to headinghost: string
optional
Jump to headingconnectionListener: () => void
Return Type Jump to heading
Jump to headingconnect(path: string,connectionListener?: () => void,): Socket
Parameters Jump to heading
Jump to headingpath: string
optional
Jump to headingconnectionListener: () => void