您好,欢迎来到佳博论文网!

基于VB技术开发CS通信软件

论文编号:TX300论文字数:13066,页数:28

摘要

随着网络技术和通信技术的发展,原本属于平行线的网络技术和通信技术终于融合在一起,兴起了一门新的学科—网络通信技术。网络通信技术作为一门在近年来迅猛发展的科学分支,对其进行研究就显得极有意义。

鉴于我们在网络通信技术研究中取得的许多成果,使得计算机性能逐渐增强,价格逐渐降低,越来越多的企业都拥有了自己的网络化的计算机系统。而基于WinSock 的计算机通信是目前比较成熟的解决方法。许多程序语言都支持基于WinSock的计算机网络编程。

在此,本文通过对客户端/服务器(C/S)网络结构进行分析,结合TCP/IP协议的通信原理,并针对一个典型的C/S网络服务应用实例,基于VB技术中包含的Winsock控件实现网络点到点通信的方法。

关键词:客户端/服务器,Winsock控件,即时通信,VB

ABSTRACT

With the development of network and communication technology, now the two that used to be on different parallel lines have finally combined together and a new discipline has risen- network communication technology. As a rapid development brand of the scientific branch in recent years, it is very meaningful to study network communication technology.

Since there are plenty of achievements we gain on network communication technology,the computer performance is gradually better,and the price is lower,which makes more and more enterprises have their own networking computer systems. Compared to others,the computer communication based on Winsock is a rather mature solution.Lots of programming languages can be used for the Winsock based network programming.

This paper proposed the method of developing the software of C/S structure and realized two software frames of C/S based on the theory of TCP/IP and the structure of Client/Server and used Microsoft Visual Basic 6.0.

Keywords: client/server,WinSock control,Instant Messaging, VB

目录

摘要I

ABSTRACTII

第1章 引言1

1.1 背景1

1.2 研究内容2

第2章 系统功能及相关知识3

2.1 即时通信系统的概念及特点3

2.1.1即时通信系统的发展历程3

2.2 网络通信模型4

2.2.1 C/S模式4

2.3 网络通信协议5

2.3.1 TCP/IP协议5

2.3.2 UDP协议7

2.4 WinSock的基本概念8

2.4.1 WinSock的引入8

2.4.2 WinSocket 的类型8

2.5 设计工具VB6.0介绍10

2.5.1 VB6.0简介10

2.5.2 VB6.0历史发展10

2.5.3 VB6.0的特点11

第3章 系统的设计与实现13

3.1 即时通信系统的需求分析13

3.1.1 即时通信系统功能描述13

3.1.2 系统设计性能分析13

3.2 系统设计思路14

3.3 利用VB中Winsock控件实现基本通信14

3.3.1 服务器程序开始侦听网络16

3.3.2 客户程序申请连接16

3.3.3 服务器程序应答连接请求17

3.3.3 传送数据17

3.3.4 关闭连接18

第4章 结束语19

致谢20

参考文献21

附录 源代码22

基于VB技术开发CS通信软件......