Click here to Skip to main content
15,891,567 members

Comments by Alexeirob (Top 4 by date)

Alexeirob 6-Dec-10 11:01am View    
Ok, let me rephrase my question. I have a handle to a socket (in C++), and I want to check if it's blocking or not.
I know how to set it: http://msdn.microsoft.com/en-us/library/ms738573(VS.85).aspx
But I need to get this property.
Alexeirob 2-Dec-10 9:01am View    
It's a Source Code which is problematic, which sets the conditional accept on every socket.
Alexeirob 2-Dec-10 3:22am View    
Thanks E.F. Nijboer.
I've looked at the accept remarks, and the connect() function (in the client side) called before the accept, so that there are pending connections.
Alexeirob 2-Dec-10 2:37am View    
But how can it be? The connect is coming 0.5 seconds before the accept. And the connection is through the loopback. Can it be related to blocking/non-blocking socket?