CAsyncSocket-debug assertion failed
-
Hi ! I am using VC++ 6.0. SP 4.0. , my COM application uses CAsyncSocket , and when I try to close the socket (method Close()), I get "Debug assertion failed" File:sockcode.cpp Line:483 // this is "CAsyncSocket::KillSocket(m_hSocket, this);" There was a solution to a similar problem in MSDN article (Article ID: Q139693 ) but I tried this and in my case it doesn't work. I am at a loss. What can I do about it ? Thanx in advance.
-
Hi ! I am using VC++ 6.0. SP 4.0. , my COM application uses CAsyncSocket , and when I try to close the socket (method Close()), I get "Debug assertion failed" File:sockcode.cpp Line:483 // this is "CAsyncSocket::KillSocket(m_hSocket, this);" There was a solution to a similar problem in MSDN article (Article ID: Q139693 ) but I tried this and in my case it doesn't work. I am at a loss. What can I do about it ? Thanx in advance.
Try something like this closesocket(m_hSocket) where m_hSocket is data member from CAsyncSocket.