Qt实现客户端与服务器消息发送与文件传输

上传者: sinat_21107433 | 上传时间: 2019-12-21 21:06:09 | 文件大小: 29.38MB | 文件类型: rar
客户端与服务器之间的数据传送在很多案例场景里都会有应用。这里Jungle用Qt来简单设计实现一个场景,即:
①两端:服务器QtServer和客户端QtClient
②功能:服务端连接客户端,两者能够互相发送消息,传送文件,并且显示文件传送进度。
环境:VS2008+Qt4.8.6+Qt设计师

文件下载

资源详情

[{"title":"( 64 个子文件 29.38MB ) Qt实现客户端与服务器消息发送与文件传输","children":[{"title":"4.QtSocket_Version2","children":[{"title":"说明.txt <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"QtClient","children":[{"title":"QtClient.sln <span style='color:#111;'> 890B </span>","children":null,"spread":false},{"title":"QtClient.ncb <span style='color:#111;'> 4.69MB </span>","children":null,"spread":false},{"title":"Misc","children":null,"spread":false},{"title":"QtClient","children":[{"title":"TcpPacketProcessor.cpp <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"ServerData","children":[{"title":"毛不易-消愁 (Live).mp3 <span style='color:#111;'> 6.95MB </span>","children":null,"spread":false}],"spread":true},{"title":"TcpDataProcessor.h <span style='color:#111;'> 605B </span>","children":null,"spread":false},{"title":"QtClient.vcproj.Jungle-PC.Jungle.user <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"Resources","children":null,"spread":false},{"title":"QtClient.vcproj <span style='color:#111;'> 10.28KB </span>","children":null,"spread":false},{"title":"GeneratedFiles","children":[{"title":"Release","children":null,"spread":false},{"title":"ui_qtclient.h <span style='color:#111;'> 4.13KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"moc_qtclient.cpp <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false}],"spread":false},{"title":"qrc_qtclient.cpp <span style='color:#111;'> 684B </span>","children":null,"spread":false}],"spread":true},{"title":"TcpPacketProcessor.h <span style='color:#111;'> 687B </span>","children":null,"spread":false},{"title":"111.txt <span style='color:#111;'> 8.80KB </span>","children":null,"spread":false},{"title":"qtclient.ui <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"qtclient.h <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"qtclient.qrc <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"TcpDataProcessor.cpp <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"qtclient.cpp <span style='color:#111;'> 4.75KB </span>","children":null,"spread":false}],"spread":false},{"title":"Autotext","children":[{"title":"Saved","children":null,"spread":false}],"spread":true},{"title":"QtClient.suo <span style='color:#111;'> 18.50KB </span>","children":null,"spread":false},{"title":"Dict","children":null,"spread":false},{"title":"Win32","children":[{"title":"Debug","children":[{"title":"QtClient.pdb <span style='color:#111;'> 1.67MB </span>","children":null,"spread":false},{"title":"vc90.idb <span style='color:#111;'> 1.25MB </span>","children":null,"spread":false},{"title":"vc90.pdb <span style='color:#111;'> 1.16MB </span>","children":null,"spread":false},{"title":"mt.dep <span style='color:#111;'> 65B </span>","children":null,"spread":false},{"title":"QtCored4.dll <span style='color:#111;'> 4.32MB </span>","children":null,"spread":false},{"title":"QtClient.ilk <span style='color:#111;'> 995.60KB </span>","children":null,"spread":false},{"title":"qtclient.obj <span style='color:#111;'> 189.72KB </span>","children":null,"spread":false},{"title":"QtNetworkd4.dll <span style='color:#111;'> 1.70MB </span>","children":null,"spread":false},{"title":"QtClient.exe <span style='color:#111;'> 77.50KB </span>","children":null,"spread":false},{"title":"QtClient.exe.intermediate.manifest <span style='color:#111;'> 621B </span>","children":null,"spread":false},{"title":"BuildLog.htm <span style='color:#111;'> 9.28KB </span>","children":null,"spread":false},{"title":"moc_qtclient.obj <span style='color:#111;'> 98.50KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 93.76KB </span>","children":null,"spread":false},{"title":"qrc_qtclient.obj <span style='color:#111;'> 12.84KB </span>","children":null,"spread":false},{"title":"QtGuid4.dll <span style='color:#111;'> 14.17MB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"QtServer","children":[{"title":"QtServer.suo <span style='color:#111;'> 18.00KB </span>","children":null,"spread":false},{"title":"QtServer.sln <span style='color:#111;'> 890B </span>","children":null,"spread":false},{"title":"QtServer.ncb <span style='color:#111;'> 7.03MB </span>","children":null,"spread":false},{"title":"Win32","children":[{"title":"Debug","children":[{"title":"vc90.idb <span style='color:#111;'> 1.25MB </span>","children":null,"spread":false},{"title":"QtServer.exe.intermediate.manifest <span style='color:#111;'> 621B </span>","children":null,"spread":false},{"title":"QtServer.ilk <span style='color:#111;'> 1.00MB </span>","children":null,"spread":false},{"title":"vc90.pdb <span style='color:#111;'> 1.16MB </span>","children":null,"spread":false},{"title":"mt.dep <span style='color:#111;'> 65B </span>","children":null,"spread":false},{"title":"QtCored4.dll <span style='color:#111;'> 4.32MB </span>","children":null,"spread":false},{"title":"QtNetworkd4.dll <span style='color:#111;'> 1.70MB </span>","children":null,"spread":false},{"title":"QtServer.exe <span style='color:#111;'> 79.00KB </span>","children":null,"spread":false},{"title":"qtserver.obj <span style='color:#111;'> 190.90KB </span>","children":null,"spread":false},{"title":"qrc_qtserver.obj <span style='color:#111;'> 12.84KB </span>","children":null,"spread":false},{"title":"BuildLog.htm <span style='color:#111;'> 9.28KB </span>","children":null,"spread":false},{"title":"QtServer.pdb <span style='color:#111;'> 1.67MB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 94.01KB </span>","children":null,"spread":false},{"title":"QtGuid4.dll <span style='color:#111;'> 14.17MB </span>","children":null,"spread":false},{"title":"moc_qtserver.obj <span style='color:#111;'> 98.36KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"QtServer","children":[{"title":"ClientData","children":[{"title":"Windows网络编程技术.pdf <span style='color:#111;'> 17.90MB </span>","children":null,"spread":false}],"spread":true},{"title":"QtServer.vcproj.Jungle-PC.Jungle.user <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"qtserver.cpp <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false},{"title":"Resources","children":null,"spread":false},{"title":"GeneratedFiles","children":[{"title":"Release","children":null,"spread":false},{"title":"ui_qtserver.h <span style='color:#111;'> 3.81KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"moc_qtserver.cpp <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"qrc_qtserver.cpp <span style='color:#111;'> 684B </span>","children":null,"spread":false}],"spread":true},{"title":"qtserver.qrc <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"qtserver.ui <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 375B </span>","children":null,"spread":false},{"title":"qtserver.h <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"QtServer.vcproj <span style='color:#111;'> 10.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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