net.createConnection(path[, connectListener])


发起 IPC 连接。

此函数创建新的 net.Socket,所有选项都设置为默认值,立即启动与 socket.connect(path[, connectListener]) 的连接,然后返回启动连接的 net.Socket

Initiates an IPC connection.

This function creates a new net.Socket with all options set to default, immediately initiates connection with socket.connect(path[, connectListener]), then returns the net.Socket that starts the connection.