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