QT TCP Socket 通信示例

上传者: bailang_zhizun | 上传时间: 2019-12-21 19:27:27 | 文件大小: 806KB | 文件类型: zip
QT的SOCKET通信实例,基于TCP通信协议,关于具体的实现机制请参考:http://blog.csdn.net/bailang_zhizun/article/details/78327974

文件下载

资源详情

[{"title":"( 30 个子文件 806KB ) QT TCP Socket 通信示例","children":[{"title":"QT Socket Demo","children":[{"title":"NetWorkClientTest","children":[{"title":"ClientTest","children":[{"title":"sockettcpclient.h <span style='color:#111;'> 542B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"sockettcpclient.cpp <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"ClientTest.pro.user <span style='color:#111;'> 17.40KB </span>","children":null,"spread":false},{"title":"ClientTest.pro <span style='color:#111;'> 420B </span>","children":null,"spread":false},{"title":"sockettcpclient.ui <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"build-ClientTest-Desktop_Qt_5_0_2_MinGW_32bit-Debug","children":[{"title":"release","children":null,"spread":false},{"title":"debug","children":[{"title":"main.o <span style='color:#111;'> 124.13KB </span>","children":null,"spread":false},{"title":"moc_sockettcpclient.cpp <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"moc_sockettcpclient.o <span style='color:#111;'> 153.49KB </span>","children":null,"spread":false},{"title":"sockettcpclient.o <span style='color:#111;'> 257.81KB </span>","children":null,"spread":false},{"title":"ClientTest.exe <span style='color:#111;'> 689.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"ui_sockettcpclient.h <span style='color:#111;'> 4.39KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 13.06KB </span>","children":null,"spread":false},{"title":"Makefile.Debug <span style='color:#111;'> 37.46KB </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 37.52KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"NetWork","children":[{"title":"build-QTNetWork-Desktop_Qt_5_0_2_MinGW_32bit-Debug","children":[{"title":"ui_sockettcpserver.h <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false},{"title":"release","children":null,"spread":false},{"title":"debug","children":[{"title":"moc_sockettcpserver.o <span style='color:#111;'> 153.98KB </span>","children":null,"spread":false},{"title":"moc_sockettcpserver.cpp <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 124.12KB </span>","children":null,"spread":false},{"title":"QTNetWork.exe <span style='color:#111;'> 699.22KB </span>","children":null,"spread":false},{"title":"sockettcpserver.o <span style='color:#111;'> 269.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 13.04KB </span>","children":null,"spread":false},{"title":"Makefile.Debug <span style='color:#111;'> 37.95KB </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 38.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"QTNetWork","children":[{"title":"sockettcpserver.cpp <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"QTNetWork.pro <span style='color:#111;'> 418B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"QTNetWork.pro.user <span style='color:#111;'> 17.37KB </span>","children":null,"spread":false},{"title":"sockettcpserver.ui <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"sockettcpserver.h <span style='color:#111;'> 636B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • android顽童 :
    资源先下载看看,以后用到的时候再说,多谢分享
    2020-09-24
  • technicxie888 :
    Server范例可以用,Client范例不行。作用不大
    2020-01-03
  • xiaxuewuhan :
    学习了,虽然简单,但对我这种刚开始玩QT的人来说,相当使用,谢谢!
    2019-10-18
  • nclsadidas :
    可以用以学习Qt的网络通讯
    2018-12-10

免责申明

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