摘要: 信息技术飞速发展的今天,即时通讯软件(Instant Messenger)的发展突飞猛进。在几年内,网络即时通信大有取代传统通信方式之势。即时通讯拥有实时性、跨平台性、成本低、效率高等诸多优势,从单一的文本聊天,到语音聊天以及到现在的图像、视频聊天、即时短信的发送和在线游戏等功能的开发,已经大大的拓展了聊天工具的概念。
本论文介绍了采用了Visual C#.net编程开发的一套局域网即时通信程序,通过运用TCP通信协议,Socket套接字和C/S系统结构来实现局域网实时聊天的功能。系统分为登录,客户端,服务端三大模块,程序实现了一个局域网内C/S结构的私人或群体的实时消息接发的功能,操作简便流畅,同时具有一般通信程序的聊天记录的管理,发送窗口抖动等功能。9699
关键词: 即时通信;C/S系统;TCP协议;套接字Socket;局域网通信;
Instant Messenger programming
Abstract: Under the rapid development of information technology today,the Instant Messenger goes by leaps and bounds. In just a few years, network instant messaging has the potential to replace the traditional communication. IM has the advantages of real-time, cross-platform, low cost, highly efficiency. From a single text chatting to voice chat as well as image, video chat, instant messaging to send and online games, has been greatly expanded the concept of chat tools.
This article describes the use of Visual C# Net programming a set of LAN instant messaging program, through the use of TCP communication protocol, socket and C/S system structure to achieve the real-time LAN chat function. The system is pided into client and service and login, three modules. This program implements a LAN C/S structure of private or group real-time messaging, it is easy and operate smoothly, with the function of general program chats , sending window shaking and other functions.
Keywords: Instant Messenger; C/S system; TCP protocol; Socket; LAN communications;
目录
摘要 i
Abstract i
目录 ii
1 绪论 1
1.1 课题的目的和意义 1
1.2 国内外研究现状与水平 1
1.2.1 国外研究现状 1
1.2.2 国内研究现状 2
1.3 发展趋势 2
1.4 面临的问题及发展瓶颈 3
2 分析 5
2.1 需求分析 5
2.1.1 即时通信客户端 5
2.1.2 即时通信服务器端 5
2.2 系统分析 5
2.2.1 系统功能模块 6
2.3 系统流程描述 6
2.4 可行性分析 9
2.4.1 引言 9
2.4.2 可行性分析的前提 9
2.4.3 技术可行性分析 9
2.5 构建开发环境 10
2.5.1 开发环境 10
2.6 关键技术介绍 10
2.6.1 Microsoft visual studio 2008介绍 10
2.6.2 C#简介 10
2.6.3 C/S (Client/Server客户机/服务器)结构简介 11
2.6.4 TCP——传输控制协议 11 C#+Socket即时通信程序设计:http://www.youerw.com/jisuanji/lunwen_8502.html