hwo to send message from client in socket programing code example
Example: How to send a message to a particular client with socket.io
io.sockets.in('[email protected]').emit('new_msg', {msg: 'hello'});
io.sockets.in('[email protected]').emit('new_msg', {msg: 'hello'});