基于MFC CSocket类的通用网络通信DLL设计  被引量:2

Development of Universal Network Communication DLL Using MFC CSocket Class

在线阅读下载全文

作  者:李晓京[1] 文治洪[1] 胡文东[1] 张利利[1] 顼红雨[1] 马进[1] 

机构地区:[1]第四军医大学航空航天医学教育部重点实验室,西安710032

出  处:《计算机系统应用》2013年第5期133-138,共6页Computer Systems & Applications

摘  要:介绍一种在VC、Delphi等多种应用程序开发环境中通用的网络通信动态链接库(DLL)模块的设计实现.在visual studio 2010开发环境下,采用c++MFC类库的CSocket类设计支持TCP协议和UDP协议的DLL.该DLL可被多种开发语言平台调用,能以客户/服务端(C/S)、点对点、广播等多种模式建立局域网内通信机制,为不同开发环境下设计模块化数据通信应用提供了便捷途径,可大大提高跨平台网络通信应用程序开发的效率.This paper develops a Dynamic Link Library (DLL) module that could be generally utilized by multiple programming environments for the construction of network communication. CSocket class, which is included in Microsoft Foundation Class (MFC), was adopted to develop the DLL that supports TCP and UDP protocol in visual studio 2010. The DLL was developed to construct network communication mechanism in the client/server, peer-to-peer and broadcast modes in a LAN. The realization of universal network communication DLL provides a good way to design the modularized data transfer applications in different programming environments. It can greatly raise the developing efficiency of such application projects.

关 键 词:MFC CSOCKET 套接字 DLL UDP协议 TCP协议 局域网广播 

分 类 号:TP311.10[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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