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.