QT 多线程服务器客户端通信程序

上传者: k1980983959 | 上传时间: 2021-06-01 17:15:37 | 文件大小: 100KB | 文件类型: ZIP
最近接了一个单子,QT写的多线程Socket服务器+多客户端,虽然用qt做socket服务器不太合适,但是毕竟客户要求就做了,本以为很简单,后来才发现QT的QTcpServer真的不太好用,参考了好多网上的教程才弄明白,顺便记录一下,有需要的可以联系我1980983959@qq.com

文件下载

资源详情

[{"title":"( 36 个子文件 100KB ) QT 多线程服务器客户端通信程序","children":[{"title":"Src","children":[{"title":"Client","children":[{"title":"client_src","children":[{"title":"client_src.pro.user <span style='color:#111;'> 23.43KB </span>","children":null,"spread":false},{"title":"config.h <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"dialog.cpp <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"config.cpp <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"dialog.h <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"client_src.pro <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"dialog.ui <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"Setting","children":[{"title":"Config.ini <span style='color:#111;'> 51B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Server","children":[{"title":"server_src","children":[{"title":"datastruct.h <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"config.h <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"server_src.pro.user <span style='color:#111;'> 23.43KB </span>","children":null,"spread":false},{"title":"thread1.cpp <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"tcpserver.cpp <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"dialog.cpp <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"datastruct.cpp <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"config.cpp <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"thread1.h <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"server_src.pro <span style='color:#111;'> 567B </span>","children":null,"spread":false},{"title":"dialog.h <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"thread2.cpp <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"dialog.ui <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"tcpserver.h <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"Setting","children":[{"title":"Config.ini <span style='color:#111;'> 100B </span>","children":null,"spread":false}],"spread":false},{"title":"thread2.h <span style='color:#111;'> 557B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"Demo","children":[{"title":"Clientbbb","children":[{"title":"client_src.exe <span style='color:#111;'> 50.50KB </span>","children":null,"spread":false},{"title":"Setting","children":[{"title":"Config.ini <span style='color:#111;'> 51B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Server","children":[{"title":"Setting","children":[{"title":"Config.ini <span style='color:#111;'> 100B </span>","children":null,"spread":false}],"spread":true},{"title":"server_src.exe <span style='color:#111;'> 68.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"Clientaaa","children":[{"title":"client_src.exe <span style='color:#111;'> 50.50KB </span>","children":null,"spread":false},{"title":"Setting","children":[{"title":"Config.ini <span style='color:#111;'> 51B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"packet.bat <span style='color:#111;'> 56B </span>","children":null,"spread":false},{"title":"Clientccc","children":[{"title":"client_src.exe <span style='color:#111;'> 50.50KB </span>","children":null,"spread":false},{"title":"Setting","children":[{"title":"Config.ini <span style='color:#111;'> 51B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ReadMe.txt <span style='color:#111;'> 375B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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