Socket.IO 0.6 released
groups.google.com
Socket.IO 0.6 released
1–10 of 11 posts
Re: Socket.IO 0.6 released
#2Re: Socket.IO 0.6 released
#3Re: Socket.IO 0.6 released
#4this library is what i am looking for to implement my project. great news. Thanks
Re: Socket.IO 0.6 released
#5Re: Socket.IO 0.6 released
#6I 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!
Re: Socket.IO 0.6 released
#7Re: Socket.IO 0.6 released
#8Socket.IO has really impressed me in the past month. That said, some of the documentation is tricky (IMHO) with things like gotchas in the absolute/relative paths, special cases for working within Node.js, etc. If anyone else here is using this new Socket with Node, I'd be interested in comparing notes-- PM me.
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
var socket = new io.Socket().connect();
socket.send('my message!');
Re: Socket.IO 0.6 released
#9Re: Socket.IO 0.6 released
#10For those Python developers who want to try socket.io, there's an implementation of server part of socket.io in Python: http://www.gelens.org/code/gevent-websocket/
There is also: http://github.com/SocketTornadIO/SocketTornad.IO which is a port of Socket.IO that runs on Tornado.