Answers for "How to send a message to a particular client with socket.io"

1

How to send a message to a particular client with socket.io

io.sockets.in('[email protected]').emit('new_msg', {msg: 'hello'});
Posted by: Guest on January-15-2021

Code answers related to "How to send a message to a particular client with socket.io"

Code answers related to "Javascript"

Browse Popular Code Answers by Language