Fixed issue with server not emitting message in unixSocket example
This commit is contained in:
parent
14f16b2bb2
commit
f986c5ec39
1 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,8 @@ ipc.serve(
|
|||
'message',
|
||||
function(data,socket){
|
||||
ipc.log('got a message : '.debug, data);
|
||||
socket.emit(
|
||||
ipc.server.emit(
|
||||
socket,
|
||||
'message',
|
||||
data+' world!'
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue