Starting with socket.io + node.js, I know how to send a message locally and to broadcast socket.broadcast.emit() function:- all the connected clients receive the same message.
Now, I would like to know how to send a private message to a particular client, I mean one socket for a private chat between 2 person
If you want to unleash your potential in this competitive field, please visit the Web Development course page for more information, where you can find the Web Development tutorials and Web Development frequently asked interview questions and answers as well.
This topic has been locked/unapproved. No replies allowed