Socket.io: broadcasting to (not only) rooms
socket.emit('hello', msg);
io.to('my room').emit('hello', msg);
socket.broadcast.to('my room').emit('hello', msg);
io.emit('hello', msg); // short version
io.sockets.emit('hello', msg);
socket.broadcast.to(otherSocket.id).emit('hello', msg);