socket.io answer to client code example Example: socket emit only to sender // Send to the sender and noone else socket.emit('hello', msg);