下载后可任意编辑 (二 〇 一 一 年 六 月 摘 要学校代码:学 号: 本科毕业设计说明书题 目 : 基于 Linux 点对点聊天文件传输系统学 生 姓 名 :学 院 : 信 息 工 程 学 院系 别 : 计 算 机 系专 业 : 计 算 机 科 学 与 技 术班 级 :指 导 老 师 :下载后可任意编辑本文是要在 Linux 平台下开发一款点对点聊天文件传输系统。实现即时聊天功能和文件的传输。系统用 c 语言进行编写,使用到了 GTK+库,运用 gcc 编程语言编译器进行编译。开发中利用了计算机网络编程的基本理论知识,如 TCP/IP 协议、客户端/服务器端模式(Client/Server 模式)、网络编程的设计方法等。使用了流式套接字实现客户端与服务器端的连接。通过创建多线程实现 I/O 流的非堵塞状态。使用 glade 生成可视化图形界面,可以在短时间内建立系统应用原型,然后,对初始原型系统进行不断修正和改进,直到形成可行系统。综合运用以上技术能够开发出一款基于 Linux 平台的聊天文件传输系统。受开发人员技术水平的限制,本系统只能归为简单的聊天系统,因为本系统与现在基于 windows 平台广泛应用的聊天系统的功能还用很大差距,需要用到更多的技术才能够实现更完美功能。关键词:点对点传输;Socket;glade下载后可任意编辑AbstractThis paper is to develop a Linux platform file transfer peer chat system. Achieve real-time chat and file transferC language for writing system, used the GTK + library and gcc compiler to compile programming languages. Development of computer network programming using the basic theoretical knowledge, such as TCP / IP protocol, client / server mode (Client / Server mode), web programming design methods. Using stream socket client and server-side to achieve connection. Achieved by creating a multi-threaded I/O streams of non-blocking state. Use glade to generate visual graphical interface, the application can create a system prototype in a short time, then, the initial prototype system constantly revised and improved, until the formation of a viable system.Integrated use of t...