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.