简体   繁体   中英

Socket.io for other platform than node.js

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?

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.

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

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....

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM