|
-
March 1st, 2007, 10:08 AM
#2
Re: SDK sockets: recv=-1 BUT WSAGetLastError=0 (???)
Your app is multi-threaded. You might be encountering a race condition on the shared variables (like bExit).
Is the Athlon the only dual-core machine your app is running on?
Try changing the "if-then-else" logic so that the first if tests only bExit, and the second "else if" is changed to a new "if".
Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|