infoshift/activesocket-node — pull request #2 by jezenielzapanta (2014-03-23 08:14:57+00:00)
Title: Basic implementation of rooms.

```javascript
as.connection(function(conn) {
as.rooms["global"].join(conn); // to put users in a room.

conn.on('*', function(data, namespace) {
as.rooms["global"].broadcast(namespace, data); // to emit to all connections
});
});
```