threedaymonk/node-websocket-demo — Issue #1: Update to reflect new socket.io
Author: parj
Created: 2011-12-19 17:40:20+00:00
State: open

I had stumbled across your nice & simple demo, but it failed due to the new socket io library.

main.js should now just have the line
var socket = io.connect();

server.js should now have the line
socket.sockets.on('connection'
instead of
socket.on('