Qt TCP聊天室demo

上传者: 48268336 | 上传时间: 2022-06-17 18:08:39 | 文件大小: 2.18MB | 文件类型: ZIP
Qt 通过QTcpSocket类和QTcpServer类实现TCP协议的编程。代码介绍如何实现一个如何基于TCP的网络聊天室,他同样也从客户端和服务器两部分组成。

文件下载

资源详情

[{"title":"( 36 个子文件 2.18MB ) Qt TCP聊天室demo","children":[{"title":"TCP","children":[{"title":"TcpClient","children":[{"title":"tcpclient.h <span style='color:#111;'> 995B </span>","children":null,"spread":false},{"title":"TcpClient.pro.user <span style='color:#111;'> 23.36KB </span>","children":null,"spread":false},{"title":"tcpclient.cpp <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 181B </span>","children":null,"spread":false},{"title":"TcpClient.pro <span style='color:#111;'> 372B </span>","children":null,"spread":false}],"spread":true},{"title":"build-TcpServer-Desktop_Qt_5_6_3_MinGW_32bit-Debug","children":[{"title":"Makefile.Debug <span style='color:#111;'> 53.43KB </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 53.55KB </span>","children":null,"spread":false},{"title":"debug","children":[{"title":"moc_tcpclientsocket.o <span style='color:#111;'> 283.03KB </span>","children":null,"spread":false},{"title":"moc_tcpclientsocket.cpp <span style='color:#111;'> 5.38KB </span>","children":null,"spread":false},{"title":"moc_server.o <span style='color:#111;'> 292.34KB </span>","children":null,"spread":false},{"title":"TcpServer.exe <span style='color:#111;'> 2.21MB </span>","children":null,"spread":false},{"title":"moc_tcpserver.cpp <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"tcpclientsocket.o <span style='color:#111;'> 257.27KB </span>","children":null,"spread":false},{"title":"moc_tcpserver.o <span style='color:#111;'> 419.75KB </span>","children":null,"spread":false},{"title":"tcpserver.o <span style='color:#111;'> 411.47KB </span>","children":null,"spread":false},{"title":"moc_server.cpp <span style='color:#111;'> 4.72KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 460.14KB </span>","children":null,"spread":false},{"title":"server.o <span style='color:#111;'> 293.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"Makefile <span style='color:#111;'> 19.04KB </span>","children":null,"spread":false},{"title":"release","children":null,"spread":false}],"spread":true},{"title":"build-TcpClient-Desktop_Qt_5_6_3_MinGW_32bit-Debug","children":[{"title":"Makefile.Debug <span style='color:#111;'> 34.91KB </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 34.98KB </span>","children":null,"spread":false},{"title":"debug","children":[{"title":"moc_tcpclient.o <span style='color:#111;'> 414.66KB </span>","children":null,"spread":false},{"title":"tcpclient.o <span style='color:#111;'> 448.30KB </span>","children":null,"spread":false},{"title":"moc_tcpclient.cpp <span style='color:#111;'> 4.02KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 460.15KB </span>","children":null,"spread":false},{"title":"TcpClient.exe <span style='color:#111;'> 1.29MB </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 19.04KB </span>","children":null,"spread":false},{"title":"release","children":null,"spread":false}],"spread":true},{"title":"TcpServer","children":[{"title":"TcpServer.pro.user <span style='color:#111;'> 23.36KB </span>","children":null,"spread":false},{"title":"tcpserver.cpp <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"server.h <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"tcpclientsocket.h <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"TcpServer.pro <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"tcpclientsocket.cpp <span style='color:#111;'> 747B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 181B </span>","children":null,"spread":false},{"title":"server.cpp <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"tcpserver.h <span style='color:#111;'> 662B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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