I am facing issues emitting message to a particular socket
after updating socket to 1.0.6
my this code : io.sockets.socket(socks[sendallto]).emit('message',data);
where socket[sendallto] is the socket id where I want to send message was working fine before updating socket io it was working in 0.9.16 any help would be highly appreciated.
The following code should do the trick:
io.to(socks[sendallto]).emit('message',data);
By the way, you updated Socket.IO library, not Node.js. The latest stable Node.js version is 0.10.29 :D