diff --git a/lib/socketServer.js b/lib/socketServer.js index c8e2e06..1655c72 100644 --- a/lib/socketServer.js +++ b/lib/socketServer.js @@ -141,6 +141,7 @@ function init(path,config,log,port){ } function serverCreated(socket) { + server.sockets.push(socket); if(socket.setEncoding) socket.setEncoding(server.config.encoding); diff --git a/package.json b/package.json index a0a1799..9e70a80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-ipc", - "version": "0.9.15", + "version": "0.9.16", "description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.", "main": "node-ipc.js", "directories": {