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

基于MFC CSocket类的通用网络通信DLL设计
引用本文:李晓京,文治洪,胡文东,张利利,顼红雨,马进.基于MFC CSocket类的通用网络通信DLL设计[J].计算机系统应用,2013,22(5):133-138.
作者姓名:李晓京  文治洪  胡文东  张利利  顼红雨  马进
作者单位:第四军医大学航空航天医学教育部重点实验室,西安,710032
摘    要:介绍一种在VC、Delphi等多种应用程序开发环境中通用的网络通信动态链接库(DLL)模块的设计实现.在visual studi0 2010开发环境下,采用c++MFC类库的CSocket类设计支持TCP协议和UDP协议的DLL.该DLL可被多种开发语言平台调用,能以客户/服务端(C/S)、点对点、广播等多种模式建立局域网内通信机制,为不同开发环境下设计模块化数据通信应用提供了便捷途径,可大大提高跨平台网络通信应用程序开发的效率.

关 键 词:MFC  CSocket  套接字  DLL  UDP协议  TCP协议  局域网广播
收稿时间:2012/10/16 0:00:00
修稿时间:2012/11/24 0:00:00

Development of Universal Network Communication DLL Using MFC CSocket Class
LI Xiao-Jing,WEN Zhi-Hong,HU Wen-Dong,ZHANG Li-Li,XU Hong-Yu and MA Jin.Development of Universal Network Communication DLL Using MFC CSocket Class[J].Computer Systems& Applications,2013,22(5):133-138.
Authors:LI Xiao-Jing  WEN Zhi-Hong  HU Wen-Dong  ZHANG Li-Li  XU Hong-Yu and MA Jin
Affiliation:Key Laboratory of Aerospace Medicine of Ministry of Education, Fourth Military Medical University, Xi'an 710032, China;Key Laboratory of Aerospace Medicine of Ministry of Education, Fourth Military Medical University, Xi'an 710032, China;Key Laboratory of Aerospace Medicine of Ministry of Education, Fourth Military Medical University, Xi'an 710032, China;Key Laboratory of Aerospace Medicine of Ministry of Education, Fourth Military Medical University, Xi'an 710032, China;Key Laboratory of Aerospace Medicine of Ministry of Education, Fourth Military Medical University, Xi'an 710032, China;Key Laboratory of Aerospace Medicine of Ministry of Education, Fourth Military Medical University, Xi'an 710032, China
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.
Keywords:MFC  CSocket  socket  DLL  UDP  TCP  LAN broadcast
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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