socket io emit to socket code example
Example: socket emit to specific room using nodejs socket.io
io.on('connection', function(socket){ socket.to('some room').emit('some event');});
io.on('connection', function(socket){ socket.to('some room').emit('some event');});