首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

CAsynsCosket的基于对话框的通信linsten()函数执行时,会触发系统调用虚函数OnAccept函数吧?该如何处理

2012-06-06 
CAsynsCosket的基于对话框的通信linsten()函数执行时,会触发系统调用虚函数OnAccept函数吧?如题[解决办法]

CAsynsCosket的基于对话框的通信linsten()函数执行时,会触发系统调用虚函数OnAccept函数吧?
如题

[解决办法]
Called by the framework to notify a listening socket that it can accept pending connection requests by calling the Accept member function. 

 
virtual void OnAccept(
int nErrorCode 
);
 
------
调用Accept函数的时候

热点排行