socket.io-client-cpp:Socket.IO客户端的C ++ 11实现

上传者: 42157556 | 上传时间: 2023-02-16 08:25:22 | 文件大小: 392KB | 文件类型: ZIP
C++
Socket.IO C ++客户端 通过使用C ++编写,此客户端可在多个不同的平台上工作。 文件夹包含一个iPhone,QT和Console示例聊天客户端! 它取决于 ,并受启发。 相容性表 C ++客户端版本 Socket.IO服务器版本 1.x / 2.x 3.x / 4.x 2.x( 2.x分支) 是的 是,带有 3.x( master分支) 不 是的 特征 100%用现代C ++ 11编写 二进制支持 自动JSON编码 多重支持 与Socket.IO JS客户端类似的API 跨平台 注意:当前仅实现WebSocket传输(不回退到HTTP长轮询) 安装替代 选项1:椰子足 选项2:创建静态库 选项3:手动整合 快速开始 **** 这些API与JS客户端相似。 连接到服务器 sio::client h; h.connect( " http://127.0.0.1:

文件下载

资源详情

[{"title":"( 64 个子文件 392KB ) socket.io-client-cpp:Socket.IO客户端的C ++ 11实现","children":[{"title":"socket.io-client-cpp-master","children":[{"title":"INSTALL_IOS.md <span style='color:#111;'> 928B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 110B </span>","children":null,"spread":false},{"title":"INSTALL.md <span style='color:#111;'> 928B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"sio_client.h <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"sio_socket.cpp <span style='color:#111;'> 15.88KB </span>","children":null,"spread":false},{"title":"sio_socket.h <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"sio_client.cpp <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"sio_message.h <span style='color:#111;'> 13.12KB </span>","children":null,"spread":false},{"title":"internal","children":[{"title":"sio_client_impl.h <span style='color:#111;'> 6.79KB </span>","children":null,"spread":false},{"title":"sio_packet.cpp <span style='color:#111;'> 14.56KB </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"sio_packet.h <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"sio_client_impl.cpp <span style='color:#111;'> 19.64KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":".gitmodules <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"ci.yml <span style='color:#111;'> 530B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"examples","children":[{"title":"QT","children":[{"title":".gitignore <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 9.99KB </span>","children":null,"spread":false},{"title":"SioChatDemo","children":[{"title":".gitignore <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"SioChatDemo.pro <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 8.62KB </span>","children":null,"spread":false},{"title":"boost","children":[{"title":".gitignore <span style='color:#111;'> 20B </span>","children":null,"spread":false},{"title":"boost.sh <span style='color:#111;'> 13.32KB </span>","children":null,"spread":false}],"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"nicknamedialog.h <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"nicknamedialog.cpp <span style='color:#111;'> 731B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"nicknamedialog.ui <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Console","children":[{"title":"README.md <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 5.90KB </span>","children":null,"spread":false},{"title":"SioChatDemo","children":[{"title":"SioChatDemo.vcxproj <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false},{"title":"SioChatDemo.sln <span style='color:#111;'> 868B </span>","children":null,"spread":false}],"spread":true},{"title":"CMakeLists.txt <span style='color:#111;'> 538B </span>","children":null,"spread":false}],"spread":true},{"title":"iOS","children":[{"title":"README.md <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"SioChatDemo","children":[{"title":".gitignore <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"sioclientTests","children":[{"title":"Info.plist <span style='color:#111;'> 758B </span>","children":null,"spread":false}],"spread":false},{"title":"SioChatDemo.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"xcshareddata","children":[{"title":"SioChatDemo.xccheckout <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":false},{"title":"contents.xcworkspacedata <span style='color:#111;'> 156B </span>","children":null,"spread":false}],"spread":false},{"title":"project.pbxproj <span style='color:#111;'> 28.03KB </span>","children":null,"spread":false}],"spread":false},{"title":"boost","children":[{"title":".gitignore <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"boost.sh <span style='color:#111;'> 13.32KB </span>","children":null,"spread":false}],"spread":false},{"title":"SioChatDemoTests","children":[{"title":"Info.plist <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"SioChatDemoTests.m <span style='color:#111;'> 871B </span>","children":null,"spread":false}],"spread":false},{"title":"SioChatDemo","children":[{"title":"main.m <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"AppDelegate.h <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"CRViewController.mm <span style='color:#111;'> 14.52KB </span>","children":null,"spread":false},{"title":"CRViewController.h <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"Main.storyboard <span style='color:#111;'> 11.29KB </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"Images.xcassets","children":[{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"AppDelegate.m <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"Base.lproj","children":[{"title":"LaunchScreen.xib <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"rapidjson","children":null,"spread":false},{"title":"asio","children":null,"spread":false},{"title":"websocketpp","children":null,"spread":false},{"title":"catch","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"sio_test <span style='color:#111;'> 867.63KB </span>","children":null,"spread":false},{"title":"echo_server","children":[{"title":".gitignore <span style='color:#111;'> 13B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"json.hpp <span style='color:#111;'> 145.06KB </span>","children":null,"spread":false},{"title":"sio_test.cpp <span style='color:#111;'> 7.98KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 375B </span>","children":null,"spread":false}],"spread":true},{"title":"CMakeLists.txt <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"API.md <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明