Socket.IO 0.6 released
groups.google.com
groups.google.com
There is also: http://github.com/SocketTornadIO/SocketTornad.IO which is a port of Socket.IO that runs on Tornado.
1) One line to install
npm install socket.io
2) Three lines two use on the server
var io = require('socket.io');
var socket = io.listen(yourHttpServerInstance);
socket.on('connection', function(conn){ conn.on('message', function(msg){ console.log('message from client', msg); }); }
3) Three lines to use on the client
<script src="/socket.io/socket.js"></script> <!-- assuming node serves the HTML too -->
var socket = new io.Socket().connect();
socket.send('my message!');
I have the implementation down but I'm struggling with the tests. I wanted to create tests for all means of calling with exceptions, and I think I have the other ones down.
I'll ping you when I get it fixed, promise!
Edit: Thanks again for your work, Socket.IO is really great!