2

I'm looking for a library that work exactly like socket.io(node.js) but I need it in other platform, c++ or maybe python.

This is about server application for website. My app work with node.js but I need to change it for C++/python or something other.

socket.io is great because it choose technology automatically to connect with server - depend which browser/hardware you use.

Any ideas?

ElSajko
  • 1,612
  • 3
  • 17
  • 37
  • For C++ go with Boost.ASIO, it also allows for asynch handling and it's pretty darn fast http://www.boost.org/doc/libs/1_51_0/doc/html/boost_asio.html – daniel gratzer Oct 05 '12 at 19:47

3 Answers3

3

For Python, you could look into >> Websockets with python << Can I use Socket.IO with Django? Django is a web-framework that uses Python language.

Community
  • 1
  • 1
arcolife
  • 386
  • 1
  • 3
  • 12
1

There is a Socket.IO implementation for python via TornadIO2, which is to be used with the Tornado async web server. I have used this when it was TornadIO 1.0

Go has one that I use, but its only compatible to Socket.IO 0.6.x: go-socket.io

And just look at the socket.io Wiki for other links:
https://github.com/learnboost/socket.io/wiki

jdi
  • 90,542
  • 19
  • 167
  • 203
1

The protocol definition for socket.io is available here https://github.com/LearnBoost/socket.io-spec

I have been part of a couple of project where we decided to actually implement our own client for various reasons. It is not that hard especially since you only have to support on transport (xhr-polling is the easiest imho).

And also maybe a possibility to give back to the community....

Martin
  • 755
  • 1
  • 6
  • 11