Closed ptmccarthy closed 10 years ago
http://socket.io/blog/introducing-socket-io-1-0/
Checkout that multiplayer gameboy emulator running in node with socket.io though
this is actually a good excuse to fix some hacky shit. That reference to 'handshaken' is because the user retrieved by passport is buried wayyyy the fuck inside the socket object (we have to call var user = socket.manager.handshaken[socket.id].user;
to grab it). I bet that the socket 1.0 upgrade broke passport.socketio, but hopefully that will result in a more accessible user object
Looking at some migration stuff, it looks like socket.io itself might handle some of the stuff that passport-socket was created to deal with.
Looks like socket.io version 1.0 came out, and after I npm installed node crashes when attempting to join the chat.