|
HI
Sure I will look at this.
----- Original Message -----
Sent: Sunday, March 28, 2004 11:40
AM
Subject: RE: [msvc] IOCP
I have an IOCP server that works (or seems to)
when run normally in both debug and release types. It does throw an
exception when run through the debugger while trying to allocate
memory. The call stack shows only seems to show NTDLL.
The sequence of events leading to the exception
are when a socket is being created for the second time. So it goes
something like
Listen for a Connection
Get hSocket stick it in a list
BindIOCallback with the socket
work with socket
Close socket remove it from list
Then when going around this sort of loop for
the second time (another connection) the sever throws an exception.
Has anyone else come across this??
Configure
your server to halt on first chance notifications, and you'll break into the
debugger as soon as the exception is generated. Then, you can inspect
the instruction which raises the exception, and can get more information on
why it's happenning.
_______________________________________________ msvc mailing
list [EMAIL PROTECTED] See
http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription
changes, and list archive.
|