1、I Linux 下基于下基于 C+语言开发的语言开发的 即时通信软件即时通信软件 摘摘 要要 网络通讯是目前计算机用户进行交流最普遍的方式, 各种各样的聊天软件也层出不 穷; 服务提供商也提供了越来越丰富的通讯服务功能。 当前中国的互联网技术已经进入 了一个飞速发展的时期, 即时通讯工具作为当今网络应用的主流, 越来越受到了人们的 青睐,使人们的网上生活更加丰富多彩。当今使用最为广泛的即时通信工具,微软公司 的 MSN,腾讯公司的 QQ 聊天软件等为人们的工作和生活带来很大的便利。特别是对 于腾讯来说,其公司的收益很大部分是归功于 QQ 庞大的客户群,并在此基础上拓展其 他的业务。 本毕业设计
2、就是模拟 QQ 聊天软件,开发一个包括文字聊天、保存用户信息等功 能的即时通信软件。 采用 C/S 架构,基于 Linux平台开发,采用 C+编程语言。由服务器端和客户 端程序组成。采用 ICE 中间件,解除服务器和客户端的耦合。并使用 QT 进行图形界面 的设计。主要实现的是聊天软件的部分功能,即文字聊天、保存用户消息等功能,主要 完成的任务包括服务器模块的设计、文字聊天,保存用户信息等功能。通过运行、测试 与分析,该多功能聊天软件运行稳定、可靠,具有一定的实用价值。 关键词关键词:聊天软件 文字聊天 Linux平台 C/S 架构 ICE 中间件 II Linux-based instant
3、 messaging software using C+ language development Abstract Network communication is the computer users to communicate the most common way, all kinds of chat software also emerge in endlessly; Service providers also provide more and more rich communication service functions. The current Chinas Intern
4、et technology has entered a rapid development period, instant communication tools as the network application of mainstream, more and more get the favour of people, make people online life more colorful. The most widely used instant communication tools, Microsofts MSN and QQ chat software the tecent
5、company for peoples work and life bring great convenience. Especially for tencent speaking, the companys earnings, a large part is attributed to QQ large clientele, and based on this, expand the other business. The graduation design is simulated QQ chat software, the development of a text chat, grou
6、p chat function of instant communication software. Using C/S structure, based on Linux platform development, the C+ programming language. From the server and client program composition. The ICE middleware, and remove the server and client coupling. And use QT for the design of the graphical interface. The realization of the main chat software is part of the function, which text chat, the function such as news group, the main task of the module design, including the server text chat,