摘要:局域网聊天工具是一种面向企事业单位局域网终端使用者进行网络沟通的工具。使用者可以通过安装了即时通信的终端机,从而实现两人或多人之间的信息传递。主要是用来传递文件,实现信息的共享。局域网聊天工具,除了能加强网络之间的信息沟通外。还可以建立起网站信息与聊天用户联系到一起,实现用户群的实时群。局域网聊天工具利用无线网线路进行信息交流和互动,有效节约了成本开支,提高办公效益,因此局域网聊天工具越来越吸引聊天群体用户对它的喜爱。52095
程序在win7操作系统环境中,采用面向对象的编程方法、XML保存文档的方法、以对等网的模式来实现一个简单的局域网聊天的功能;采用socket原理,以C#为工具语言,设计一个简单的聊天工具,实现了用户上线提示,发送图片,基本聊天功能,发送文件、用户信息的修改、语音、视频等功能。
毕业论文关键字:对等网, 面向对象的编程,XML,socket
Abstract: LAN chat tool is a kind of institutions for the local network terminal users of network communication tools. The user can through the installation of the instant communication terminal, so as to achieve two or on the transmission of information between the. Used to transfer files, share information. LAN chat tools, in addition to strengthen the information communication between networks, outside. The main is to establish the website information together and chat users, to achieve real-time group user group. LAN chat tool for information exchange and interaction using wireless network, effectively save the cost, improve office efficiency, therefore LAN chat tool chat groups attract more user attention to it.
Procedures in the win7 operating system environment, using object-oriented programming method, method of XML to save the document. Peer to peer network model to achieve a simple LAN chat function; using the principle of socket, using C# as a tool, language, design a simple chat tool, to achieve the user on-line tips, send pictures, basic chat, send files, modify user information ,voice,video and other functions.
Keywords: Peer to peer network, object-oriented programming, XML, socket
目 录
1 引言 4
1.1 课题来源 4
1.2 国内外的发展状况 5
1.3 课题开发环境与目标 5
1.4 C# 语言介绍 5
2 核心相关的概念与技术 6
2.1 Socket 原理 6
2.2 面向对象编程 8
2.3 XML 9
3 局域网聊天实现原理 11
3.1 功能结构图 11
3.2 数据存储设置设计 11
3.3 基于UDP的异步通讯 12
3.4 文档结构的存储 12
4 系统详细设计 12
4.1 登录和主界面 12
4.2 聊天 15
4.3 传输文件 21
4.4 群聊 24
4.5 多媒体交互方式 25
4.6 设置用户信息 28
4.7 关于 29
结 论 30
参考文献