I want to send message to specific socket. I used below code for this but it's not working and also not getting any error.
io.to(socketid).emit("message_to_client",{"message":data.message});
Please let me know anything wrong in this.
Any help Appreciated!!