基于QT的网络传输小程序+文件传输+数据互传

上传者: xiyuer | 上传时间: 2021-06-21 16:43:20 | 文件大小: 605KB | 文件类型: RAR
本小程序是将项目中的网络传输部分独立出来,做了个小测试,一个服务端,一个客户端,相互可以发数据和传文件,客户端发送file字符串 ,可以触发服务端想客户端发送文件,但是服务端要发送的文件是固定死的,所以需要童鞋们在固定目录下放一个文件即可,具体可看代码里面

文件下载

资源详情

[{"title":"( 45 个子文件 605KB ) 基于QT的网络传输小程序+文件传输+数据互传","children":[{"title":"myTcpClient","children":[{"title":"myTcpClient.vcxproj.user <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"myTcpClient.vcxproj.filters <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"myTcpClient.sln <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"myTcpClient.suo <span style='color:#111;'> 25.00KB </span>","children":null,"spread":false},{"title":"myTcpClient.pro <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 12.75KB </span>","children":null,"spread":false},{"title":"myTcpClient.opensdf <span style='color:#111;'> 58B </span>","children":null,"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"myTcpClient.vcxproj <span style='color:#111;'> 13.19KB </span>","children":null,"spread":false},{"title":"myTcpClient.pro.user <span style='color:#111;'> 18.43KB </span>","children":null,"spread":false}],"spread":false},{"title":"ServerManager","children":[{"title":"tcpsocket.cpp <span style='color:#111;'> 10.32KB </span>","children":null,"spread":false},{"title":"tcpserver.cpp <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"ServerManager.pro.user <span style='color:#111;'> 18.35KB </span>","children":null,"spread":false},{"title":"images","children":[{"title":"background.jpg <span style='color:#111;'> 52.99KB </span>","children":null,"spread":false},{"title":"setparm.png <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"log.png <span style='color:#111;'> 515.61KB </span>","children":null,"spread":false},{"title":"exit.png <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"start.png <span style='color:#111;'> 3.61KB </span>","children":null,"spread":false},{"title":"min.png <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"dialog.cpp <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"ServerManager.vcxproj.filters <span style='color:#111;'> 5.26KB </span>","children":null,"spread":false},{"title":"ServerManager.pro <span style='color:#111;'> 568B </span>","children":null,"spread":false},{"title":"threadhandle.cpp <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"ServerManager.vcxproj.user <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"servermanager.qrc <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"ServerManager.vcxproj <span style='color:#111;'> 21.30KB </span>","children":null,"spread":false},{"title":"dialog.h <span style='color:#111;'> 804B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"dialog.ui <span style='color:#111;'> 28.63KB </span>","children":null,"spread":false},{"title":"eventdispatcher_libev","children":[{"title":".travis.yml <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":".gitmodules <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"eventdispatcher_libev.pri <span style='color:#111;'> 264B </span>","children":null,"spread":false},{"title":"eventdispatcher_libev_p.h <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"eventdispatcher_libev.h <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"socknot_p.cpp <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 74B </span>","children":null,"spread":false},{"title":"eventdispatcher_libev.cpp <span style='color:#111;'> 4.06KB </span>","children":null,"spread":false},{"title":"eventdispatcher_libev_p.cpp <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false},{"title":"timers_p.cpp <span style='color:#111;'> 9.04KB </span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'> 148B </span>","children":null,"spread":false}],"spread":false},{"title":"threadhandle.h <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"tcpserver.h <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"tcpsocket.h <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • rbllbr123 :
    很好!都可以用
    2018-06-13
  • qq_35424046 :
    不可互发数据啊
    2017-09-13

免责申明

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