123456

 

2011年2月23日

跨线程使用CSocket

摘要: CSocket断言错误:ASSERT(pState->m_hSocketWindow != NULL);起因:在套接字处于连接或者发送状态时,试图关闭套接字,于是在这个断言语句处发生中断。原因分析::微软官方解释如下:http://support.microsoft.com/kb/140527/en-usThis assertion failure occurs because the CSocket object was either created or accepted in the context of another thread. The socket notificatio 阅读全文

posted @ 2011-02-23 16:53 hgy413 阅读(506) 评论(0) 推荐(0) 编辑

导航