好文档 - 专业文书写作范文服务资料分享网站

Windows平台下的网络异步通讯编程技术

天下 分享 时间: 加入收藏 我要投稿 点赞

Windows平台下的网络异步通讯编程技术

杜永锋;刘钊

【期刊名称】《电子科技》 【年(卷),期】2012(025)003

【摘要】介绍了在TCP/IP网络中WinSock网络编程的基本流程及WinSock编程常用的两种类,集中探讨了MFC提供的异步非阻塞类CAsyncSocket的特点,包括类对象的创建、异步选择机制以及对网络事件的响应。以及采用CAsyncSocket类进行网络通信的通信流程,并结合实际开发经验,介绍了使用CAsyncSocket类进行网络编程的基本框架。通过使用可大大提高编程的效率。%This paper introduces the basic processes and two common kinds of class of the WinSock network programming in the TCP/IP network and focuses on the features of asynchronous non-blocking class CAsyncSocket which is provided by MFC.The features include the creation of objects,the asynchronous selection mechanism,and the response to network events.Then with practical development experience,this paper introduces the communication process and basic framework of the network communication by using CAsyncSocket class. 【总页数】3页(59-61)

【关键词】TCP/IP;WinSock;异步通讯;非阻塞;CasyncSocket 【作者】杜永锋;刘钊

【作者单位】西安电子科技大学电子工程学院,陕西西安710071;西安电子科技大学电子工程学院,陕西西安710071

Windows平台下的网络异步通讯编程技术

Windows平台下的网络异步通讯编程技术杜永锋;刘钊【期刊名称】《电子科技》【年(卷),期】2012(025)003【摘要】介绍了在TCP/IP网络中WinSock网络编程的基本流程及WinSock编程常用的两种类,集中探讨了MFC提供的异步非阻塞类CAsyncSocket的特点,包括类对象的创建、异步选择机制以及对网络事件的
推荐度:
点击下载文档文档为doc格式
0v1kt3hiip02tjb2ixwe3xy6q955i0014p3
领取福利

微信扫码领取福利

微信扫码分享