Windows(客户端)和MS-DOS(服务器)网络通信的实现  被引量:4

Realization of Network Communication Between Windows (Client) and MS-DOS (Server)

在线阅读下载全文

作  者:罗正卫[1] 刘建群[1] 

机构地区:[1]广东工业大学机电工程学院,广东广州510006

出  处:《计算机技术与发展》2010年第4期191-194,共4页Computer Technology and Development

基  金:广东省科技计划攻关项目(2009B010900053)

摘  要:文中主要介绍了DOS操作系统和Windows操作系统之间网络通讯的实现方法。在Windows平台下基于VisualC++6.0环境下,利用MFC提供的Winsock类开发客户端程序。在MS-DOS平台下基于Borland C++3.1环境下,利用一个DOS下基于Packet Driver的开发包Wattcp开发服务器端程序。DOS操作系统缺乏类似Winsock的API,所以在该系统下设计基于TCP/IP协议的应用程序时,需要先安装DOS操作系统网卡的Packet Driver驱动,并在DOS下制作Make-file文件,把Wattcp所有的源程序编译、链接成库。采用C/S模式,运用Socket网络编程原理、方法和技巧,开发了基于TCP/IP协议的服务器和客户机通信程序,实现了服务器端与客户端的网络通信。Mainly introduces the implementation methods of network communication between the DOS operating system and Windows op- erating system. Based on the Visual C + + 6.0 environment at the Windows platform, using Class Winsock provided by MFC develop client program. Based on Borland C+ + 3.1 environment at the DOS platform, using a development Kit - Wattcp to develop server pro- gram,which based on the Packet Driver at DOS platform. DOS operating system lacks Winseck- API similar of Windows so that designing applications based on TCPZIP protocol under the system, you need to install the network adapter driver Packet Driver in DOS operating system,and produced the Makefile in the DOS, put all the source program of Wattcp to compile, link into the library. Adopt the C/ S mode, using the socket network programming principles,methods and techniques, implement the client - server network communication, and develop the server and client communication program which based on the TCP/IP protocol.

关 键 词:WINDOWS MS - DOS Wattcp Winsock类 PACKET DRIVER 

分 类 号:TP393.1[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象