检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西安电子科技大学电子工程学院,陕西西安710071
出 处:《电子科技》2012年第3期59-61,共3页Electronic Science and Technology
摘 要:介绍了在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.
关 键 词:TCP/IP WINSOCK 异步通讯 非阻塞 CASYNCSOCKET
分 类 号:TP393[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.31