socket io emit message to a prticular id code example Example: socket io emit to socket id io.to(socketid).emit('message', 'for your eyes only');