4 ms·
That's why Socket.IO is great: http://socket.io/ http://socket.io/ It gives you the same API as you'd want from a websockets library, but it will fall back to
by jackowayed 16y ago
That's why Socket.IO is great: http://socket.io/ http://socket.io/
It gives you the same API as you'd want from a websockets library, but it will fall back to Flash Sockets, long polling, etc. if websockets aren't available.
It was originally written for node, but there's a Python implementation now too.
- Jach 16y agoThanks a lot for that, I was going to start writing my own version next week for a new project. I looked on the page and Googled a bit, but I couldn't find the Python implementation. Do you have a link for that?
- jackowayed 16y agohttps://github.com/SocketTornadIO/SocketTornad.IO https://github.com/SocketTornadIO/SocketTornad.IO