首页 | 本学科首页   官方微博 | 高级检索  
     

Windows(客户端)和MS—DOS(服务器)网络通信的实现
引用本文:罗正卫,刘建群.Windows(客户端)和MS—DOS(服务器)网络通信的实现[J].微机发展,2010(4):191-194.
作者姓名:罗正卫  刘建群
作者单位:广东工业大学机电工程学院;
基金项目:广东省科技计划攻关项目(2009B010900053)
摘    要:文中主要介绍了IX3S操作系统和Windows操作系统之间网络通讯的实现方法。在Windows平台下基于Visual C++6.0环境下,利用MFC提供的Winsock类开发客户端程序。在MS—DOS平台下基于Borland C++3.1环境下,利用一个DOS下基于Packet Driver的开发包Wattcp开发服务器端程序。DOS操作系统缺乏类似Winsock的API,所以在该系统下设计基于TCP/IP协议的应用程序时,需要先安装DOS操作系统网卡的Packet Driver驱动,并在DOS下制作Makefile文件,把Wattcp所有的源程序编译、链接成库。采用C/S模式,运用Socket网络编程原理、方法和技巧,开发了基于TCP/IP协议的服务器和客户机通信程序,实现了服务器端与客户端的网络通信。

关 键 词:Windows    MS  -  DOS    Wattcp    Winsock类    Packet  Driver

Realization of Network Communication Between Windows (Client) and MS-DOS (Server)
LUO Zheng-wei,LIU Jian-qun.Realization of Network Communication Between Windows (Client) and MS-DOS (Server)[J].Microcomputer Development,2010(4):191-194.
Authors:LUO Zheng-wei  LIU Jian-qun
Affiliation:LUO Zheng-wei,LIU Jian-qun (Electrical , Mechanical Engineering College,Guangdong University of Technology,Guangzhou 510006,China)
Abstract:Mainly introduces the implementation methods of network communication between the DOS operating system and Windows operating 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 program,which based on the Packet Driver at DOS platform.DOS operating system lacks Winsock-API similar of Windows so that designing applications based...
Keywords:Windows  MS-DOS  Wattcp  Winsock  Packet Driver  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号