Windows平台下的网络异步通讯编程技术  被引量:2

Network Asynchronous Communication Programming Techniques Based on Windows

在线阅读下载全文

作  者:杜永锋[1] 刘钊[1] 

机构地区:[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[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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