send message to specific socket.id node js socket.io code example
Example: How to send a message to a particular client with socket.io
io.sockets.in('user1@example.com').emit('new_msg', {msg: 'hello'});
io.sockets.in('user1@example.com').emit('new_msg', {msg: 'hello'});