Qt实现socket服务端和客户端

上传者: jsjrj01 | 上传时间: 2019-12-21 20:01:32 | 文件大小: 31KB | 文件类型: rar
QT5实现socket客户端服务端 QtTcpThreadServer-master 来自http://www.dushibaiyu.com/2013/12/qtcpserver%E5%A4%9A%E7%BA%BF%E7%A8%8B%E5%AE%9E%E7%8E%B0.html 使用了多线程进行客户端的连接 myTcpClient 使用信号和槽,实现发送,发送部分可以使用16进制,方便测试

文件下载

资源详情

[{"title":"( 38 个子文件 31KB ) Qt实现socket服务端和客户端","children":[{"title":"myTcpClient","children":[{"title":"mainwindow.ui <span style='color:#111;'> 4.30KB </span>","children":null,"spread":false},{"title":"myTcpClient.pro.user <span style='color:#111;'> 23.56KB </span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 4.41KB </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.h <span style='color:#111;'> 597B </span>","children":null,"spread":false}],"spread":true},{"title":"QtTcpThreadServer-master","children":[{"title":"README.md <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"TestClient","children":[{"title":"tcpsocket.cpp <span style='color:#111;'> 935B </span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false},{"title":"TestClient.pro.user <span style='color:#111;'> 23.55KB </span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":"TestClient.pro <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 618B </span>","children":null,"spread":false},{"title":"tcpsocket.h <span style='color:#111;'> 486B </span>","children":null,"spread":false},{"title":"testsockets.cpp <span style='color:#111;'> 835B </span>","children":null,"spread":false},{"title":"testsockets.h <span style='color:#111;'> 512B </span>","children":null,"spread":false}],"spread":true},{"title":"Server","children":[{"title":"tcpsocket.cpp <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"threadhandle.cpp <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"threadhandle.h <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"tcpserver.h <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"TcpServerer.pro.user <span style='color:#111;'> 23.49KB </span>","children":null,"spread":false},{"title":"eventdispatcher_libev","children":[{"title":"socknot_p.cpp <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"eventdispatcher_libev_p.cpp <span style='color:#111;'> 4.22KB </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":".travis.yml <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"eventdispatcher_libev.h <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"eventdispatcher_libev.cpp <span style='color:#111;'> 4.06KB </span>","children":null,"spread":false},{"title":"timers_p.cpp <span style='color:#111;'> 9.04KB </span>","children":null,"spread":false},{"title":"eventdispatcher_libev_p.h <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 74B </span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'> 148B </span>","children":null,"spread":false}],"spread":false},{"title":"tcpsocket.h <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"tcpserver.cpp <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"TcpServerer.pro <span style='color:#111;'> 498B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • xqdark123 :
    很受用,谢谢
    2020-04-24
  • applezhou6699 :
    还不错啊,受用,谢谢了
    2017-11-06

免责申明

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