I found a few references to this but nothing that actually direct helps. Also according to some research this is the proper way to send a message to a specific client. I have:
io.sockets.socket(players[i].id).emit('deal_card', {
// etc
});
and I get this error on that line:
Missing error handler on 'socket'.TypeError: Object #<Namespace> has no method 'socket'
Any ideas?