From dad6ec2d65838ce4f03e59af8fbd0a83e611b958 Mon Sep 17 00:00:00 2001 From: Brandon Miller Date: Thu, 27 Feb 2014 13:26:08 -0800 Subject: [PATCH] fixed TCP Socket issue, same as walters unix fix --- example/TCPSocket/basic/world-server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/TCPSocket/basic/world-server.js b/example/TCPSocket/basic/world-server.js index 9f7c675..ee0b2a5 100644 --- a/example/TCPSocket/basic/world-server.js +++ b/example/TCPSocket/basic/world-server.js @@ -16,7 +16,8 @@ ipc.serveNet( 'message', function(data,socket){ ipc.log('got a message : '.debug, data); - socket.emit( + ipc.server.emit( + socket, 'message', data+' world!' );