socket emit with values code example Example: socket emit to io.to(socketid).emit('message', 'whatever');