I am using socket.io 2.0.1. Now, I would like to know how to send a private message to a particular client. like this way
io.sockets.connected[socketid].emit();
but in 1.0.x, it's gone. I think there isn't a method for this. Just searched the code and couldn't find a method. I want to know how to send a message through a socket.id.