About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
Akagi201
9/15/2014 - 8:00 AM
share
Share
add_circle_outline
Save
socket.io.md
socket.io.md
content_copy
file_download
Rendered
Source
socket.io用到的技术: http, websocket, json
socket.io在使用http短链接模拟长链接时, 也是使用get和post来配合实现socket的send和recv的
socket.io回包
python
http://www.mattmakai.com/websockets-python-resources.html
http://www.fullstackpython.com/websockets.html
http://crossbar.io/
http://autobahn.ws/python/
https://github.com/makaimc/python-websockets-example
https://flask-socketio.readthedocs.org/en/latest/
http://javascript.ruanyifeng.com/htmlapi/websocket.html
http://javascript.ruanyifeng.com/htmlapi/eventsource.html
http://javascript.ruanyifeng.com/htmlapi/webrtc.html
websocket
websocket是基于http做的一个socket协议,长连接.
socket.io在可以用websocket的时候,使用websocket协议来做长连接,在不支持websocket的时候,使用普通的http短连接来模拟长连接.
C/C++ lib
https://coderwall.com/p/u4dtya
https://github.com/ebshimizu/socket.io-clientpp
clear