socket.connect(path[, connectListener])


在给定套接字上启动 IPC 连接。

¥Initiate an IPC connection on the given socket.

socket.connect(options[, connectListener]) 的别名,{ path: path } 作为 options 调用。

¥Alias to socket.connect(options[, connectListener]) called with { path: path } as options.