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