本文已被:浏览 1927次 下载 3613次
Received:October 16, 2012 Revised:November 24, 2012
Received:October 16, 2012 Revised:November 24, 2012
中文摘要: 介绍一种在VC、Delphi等多种应用程序开发环境中通用的网络通信动态链接库(DLL)模块的设计实现. 在visual studio 2010开发环境下, 采用c++ MFC 类库的CSocket类设计支持TCP协议和UDP协议的DLL. 该DLL可被多种开发语言平台调用, 能以客户/服务端(C/S)、点对点、广播等多种模式建立局域网内通信机制, 为不同开发环境下设计模块化数据通信应用提供了便捷途径, 可大大提高跨平台网络通信应用程序开发的效率.
Abstract: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设计.计算机系统应用,2013,22(5):133-138
LI Xiao-Jing,WEN Zhi-Hong,HU Wen-Dong,ZHANG Li-Li,XU Hong-Yu,MA Jin.Development of Universal Network Communication DLL Using MFC CSocket Class.COMPUTER SYSTEMS APPLICATIONS,2013,22(5):133-138
李晓京,文治洪,胡文东,张利利,顼红雨,马进.基于MFC CSocket类的通用网络通信DLL设计.计算机系统应用,2013,22(5):133-138
LI Xiao-Jing,WEN Zhi-Hong,HU Wen-Dong,ZHANG Li-Li,XU Hong-Yu,MA Jin.Development of Universal Network Communication DLL Using MFC CSocket Class.COMPUTER SYSTEMS APPLICATIONS,2013,22(5):133-138