首页 网络技术 网络基础     /    基于C++的多客户端socket通信

基于C++的多客户端socket通信

上传者: u011599639 | 上传时间:2023/9/12 12:08:09 | 文件大小:671KB | 文件类型:zip
基于C++的多客户端socket通信
描述:1采用C++语言2编译环境是code::blocks3使用的是非阻塞套接字功能描述:1一个服务器对多个客户端之间进行通信2实现多线程开发,共包括接收数据线程、发送数据线程、主线程、接收客户端连接线程、清理资源线程。
其中主线程负责数据的输入,清理资源线程主要负责清理不需要的内存空间。
3可以定向的向某个连接的客户端进行通信、同时也可以使用广播的方式向单个客户端发送数据

文件下载

资源详情

[{"title":"(22个子文件671KB)基于C++的多客户端socket通信","children":[{"title":"project","children":[{"title":"Client","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"client.exe <span style='color:#111;'>1005.57KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"main.o <span style='color:#111;'>10.16KB</span>","children":null,"spread":false},{"title":"client.o <span style='color:#111;'>20.09KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"client.h <span style='color:#111;'>1011B</span>","children":null,"spread":false},{"title":"client.cpp <span style='color:#111;'>5.62KB</span>","children":null,"spread":false},{"title":"client.cbp <span style='color:#111;'>1.11KB</span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'>468B</span>","children":null,"spread":false},{"title":"client.layout <span style='color:#111;'>690B</span>","children":null,"spread":false},{"title":"client.depend <span style='color:#111;'>2.63KB</span>","children":null,"spread":false}],"spread":true},{"title":"Server","children":[{"title":"server","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"server.exe <span style='color:#111;'>1.09MB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"server.depend <span style='color:#111;'>3.55KB</span>","children":null,"spread":false},{"title":"server.h <span style='color:#111;'>2.35KB</span>","children":null,"spread":false},{"title":"sclient.h <span style='color:#111;'>1.75KB</span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"sclient.o <span style='color:#111;'>19.55KB</span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'>10.16KB</span>","children":null,"spread":false},{"title":"server.o <span style='color:#111;'>147.21KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"sclient.cpp <span style='color:#111;'>3.96KB</span>","children":null,"spread":false},{"title":"server.layout <span style='color:#111;'>1.16KB</span>","children":null,"spread":false},{"title":"server.cbp <span style='color:#111;'>1.17KB</span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'>384B</span>","children":null,"spread":false},{"title":"server.cpp <span style='color:#111;'>9.30KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"readme.txt <span style='color:#111;'>379B</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • m0_46152710:
    我打开服务端之后,再打开客户端,客户端闪退了,,,什么问题??我该怎么办2020-05-24
  • m0_46152710:
    我打开服务端之后,再打开客户端,客户端闪退了,,,什么问题??我该怎么办2020-05-24
  • xk_moving:
    不错,值得学习2019-04-30
  • Alohaノhi~:
    不错,值得学习2019-04-30
  • qq_32245927:
    意外关闭客户端会弹出错误框2019-02-23
  • F_Reading:
    意外关闭客户端会弹出错误框2019-02-23
  • u013552798:
    不错,很好用2018-10-30
  • 效率源科技:
    不错,很好用2018-10-30
  • u012427030:
    很不错的知识2018-03-22
  • xueccmei:
    很不错的知识2018-03-22

免责申明

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