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