文档介绍:网络即时聊天系统设计与开发(客户端)
摘要:本系统采用WINSOCK网络编程的技术,使用 Microsoft Visual Basic 开发平台,系统分为两个部分——客户端和服务器端,是典型的C/S架构。其客户端和服务器端使用TCP/IP 协议,依靠Winsock进行通讯,服务器通过建立Winsock控件数组实现多客户端同时连接。消息走向主要采用客户端发送——服务器中转——客户端接收的模式。
论文详细阐述了网络即时聊天系统的详细设计流程。首先简要介绍了本系统开发所使用的数据库和编程工具,并对需求分析部分进行了详细的阐述,并给出了各功能层次图。在详细设计部分,按照本聊天系统的功能实现划分了“登陆”,“MYIM窗体”,“查找用户窗体”,“即时聊天窗体”四块,分别对其设计过程进行了详细的阐述;接下来的章节,仍然是按照实现的功能分节对软件功能的编码实现进行了详细阐述。
关键词:TCP/IP;WINSOCK;C/S;网络通信
The Design and Development of Network Instant Chat System (Client)
Abstract:This system was designed on the basis of WINSOCK network programming and applied Microsoft Visual Basic platform of development, which is mainly comprised of two parts——the client part and server part. It is a typical C/S module. Both parts use TCP/IP protocol and Winsock to communicate. By building Winsock control array the server port can realize a simultaneous connection of many client ports’. The message’s sending mainly applies the module of sending by client port——transforming by server port——receiving by the server port.
This paper will introduce process of this system detaily. First we introduce the tools of database and program that we need to develop this system, and make a detailed discuss of needing analysis, enumerate every diagram of function part. We divide into four parts in the detailed design procedure. “LOGIN”, “MYIMFORM”, “SERACHFORM”,“CHATFORM”, Introduce separately to the designing idea. In the next part we still introduce function code exactly, and make a further introduce to debugging part.
目录
一、前言 1
项目开发的主要内容 1
项目开发运用到的主要技术 1
二、 数据库与工具简介 1
基于TCP/IP 协议的C/S 模式体系结构 1
Microsoft Access 2000简介 2
编程工具简介 3
三、总体设计 4
引言 4
数据描述 5
四、 系统设计 8
系统流程图 8
界面设计 9
五、 软件功能的编码实现 11
实现窗口鼠标整体拖动 11
“好友”,“用户”,“分组”按钮的整合实现菜单按钮 11
个人资料按钮 13
调出查找用户面板按钮 13
“添加好友”功能 14
六、总结 14
网络即时聊天系统设计与开发(客户端)
一、前言
计算机设计之初,只是为了运用于科学研究,因为其非同寻常的运算速度而大大简化了人类的脑力劳动。随着社会的快速发展,计算机已经不再是及其昂贵并且功能单一的纯粹