Fixed issue with server not emitting message in unixSocket example

This commit is contained in:
Walter P. Little 2014-02-27 12:23:53 -08:00
parent 14f16b2bb2
commit f986c5ec39

View file

@ -16,7 +16,8 @@ ipc.serve(
'message', 'message',
function(data,socket){ function(data,socket){
ipc.log('got a message : '.debug, data); ipc.log('got a message : '.debug, data);
socket.emit( ipc.server.emit(
socket,
'message', 'message',
data+' world!' data+' world!'
); );