Thread View: demon.ip.winsock
1 messages
1 total messages
Started by wu ying chao
Tue, 15 Dec 1998 00:00
CAsyncSocket problem
Author: wu ying chao
Date: Tue, 15 Dec 1998 00:00
Date: Tue, 15 Dec 1998 00:00
14 lines
1061 bytes
1061 bytes
Hi, there
I use CAsyncSocket to connect with a set of remote servers.
after a set time, no matter if all responses return, I will
close all the sockets and delete them. when I use one thread
to do this, no problem, but when I use multithread, after I delete
all sockets, an error will come out, an assert error, it's at line 1013
in sockcore.cpp
ASSERT(CAsyncSocket::LookupHandle((SOCKET)pMsg->wParam, TRUE) != NULL);
I think it means after I delete all the sockets, but the notification
message is still in queue.
I have no idea about this, could anybody help me to solve this
problem? Thanks in advance.
YingChao
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads