登录
首页 » 套接字网络编程 » 基于Qt的局域网聊天系统

基于Qt的局域网聊天系统

于 2022-01-25 发布 文件大小:20.53 kB
0 233
下载积分: 2 下载次数: 1

代码说明:

应用背景基于Qt的局域网聊天系统,实现了局域网聊天,文件传输,更改字体,保存聊天记录等功能,对于研究Qt,研究局域网通信具有较强学习价值。关键技术udpSocket = new QUdpSocket(this); port = 45454; udpSocket->bind(port, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint); connect(udpSocket, SIGNAL(readyRead()), this, SLOT(processPendingDatagrams())); sendMessage(NewParticipant); server = new TcpServer(this); connect(server, SIGNAL(sendFileName(QString)), this, SLOT(getFileName(QString))); connect(ui->messageTextEdit, SIGNAL(currentCharFormatChanged(QTextCharFormat)), this, SLOT(currentFormatChanged(const QTextCharFormat)));

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • School Management website source, function better source. Download trials under
    学校管理网站源码,功能较好的源码.下载试用下-School Management website source, function better source. Download trials under
    2022-11-22 23:35:04下载
    积分:1
  • aspxbbs Forum
    aspxbbs论坛-aspxbbs Forum
    2022-04-24 13:50:31下载
    积分:1
  • 传圣(测试版)说明 本软件适用于装有IP/TCP协议的电脑。 主要功能:电脑间传送大型文件(如电影等)。 主要特点: 1.采用了多线技...
    传圣(测试版)说明 本软件适用于装有IP/TCP协议的电脑。 主要功能:电脑间传送大型文件(如电影等)。 主要特点: 1.采用了多线程技术,速度明显高于同类软件。 2.支持多文件同时传送。 3.支持段点继传,也就是说文件可分多次传送。 4.分服务端和客户端,服务器支持多客户。 5.在传送过程中可实时对话,有聊天功能。 6.为了提高效率,本软件做得短小精悍,两文件只有100K,可以直接运行,不用安装。 7.麻雀虽小,但五脏俱全,功能多,操作方便。 使用方法:在服务端加入要传文件,客户端输入服务端IP地址(服务端运行后会显示),点击连接,即会显示服务端文件,双击即可下载。 现在是测试版,欢迎多提意义。 注意:文件下载后自动存储在客户端软件的目录下。-Chuan-sheng (beta version) to describe the software installed in IP/TCP computer. The main functions : computer-to-computer transmission of large files (such as movies, etc.). Main features : 1. The use of multi-threading technology, which is much higher than similar software. 2. Many documents to support simultaneous transmission. 3. Following the support of the point-in other words documents can be divided into several transmission. 4. Hours services and clients, servers support multiple clients. 5. In the process of transmission immediate dialogue, a chat function. 6. To improve efficiency, the software doing small and o
    2022-02-21 20:43:25下载
    积分:1
  • 增强Web服务器日志功能用java的实现
    增强Web服务器日志功能用java的实现-enhanced Web server log function with the realization of java
    2022-03-17 00:11:26下载
    积分:1
  • 一种无线拥塞控制协议
    一种无线拥塞控制协议-a wireless congestion control protocol
    2022-07-11 02:28:00下载
    积分:1
  • 图像识别的文本识别方法
    图像识别的文本识别方法-text Image Recognition Recognition
    2022-07-01 02:50:31下载
    积分:1
  • 一个聊天的序不错
    一个聊天的程序不错-a chat program,it is nice.
    2022-05-14 02:09:23下载
    积分:1
  • 小区宽带入技术及宽带布线
    小区宽带网接入技术及宽带网络布线-Area Broadband Network Broadband Access Technology and Network Cabling
    2022-06-03 02:29:21下载
    积分:1
  • 写计算机的一个简单的纠错码――海明码
    编写计算机网络的一个简单的纠错码――海明码-The preparation of computer networks, a simple error-correcting codes- Hamming Code
    2022-01-26 00:49:23下载
    积分:1
  • A realization of video chat source code, hoping to be helpful to everyone
    一个实现视频聊天源代码,希望能对大家有所帮助 -A realization of video chat source code, hoping to be helpful to everyone
    2022-03-16 06:53:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载