I\'m on the socket.io wiki looking into using rooms but join and leave are not working, i\'m wondering if they may have changed up a few things but not had the chance to update
You're probably not declaring 'socket' correctly either that of you haven't installed Socket-io correctly. Try the following...
var io = require("socket.io"); var socket = io.listen(80); socket.join('room'); socket.leave('room');
There's a useful executable example here.