Socket error 10036

Filed Under (Windows error) by Ezu on 19-05-2009

Tagged Under :

Socket error 10036 – Operation now in progress

socket-error-10036

A blocking operation is currently executing and takes a long time to complete. Windows Sockets only allows a single blocking operation-per-task or thread-to be outstanding, and if any other function call is made (whether or not it references that or any other socket) the function fails with the WSAEINPROGRESS error.

Winsock description: The Windows Sockets definition of this error is very different from Berkeley Sockets. Winsock only allows a single blocking operation to be outstanding per task (or thread), and if you make any other function call (whether or not it references that or any other socket) the function fails with the WSAEINPROGRESS error. It means that there is a blocking operation outstanding.

It is also possible that Winsock might return this error after an application calls connect a second time on a non-blocking socket while the connection is pending (i.e. after the first failed with WSAEWOULDBLOCK). This is what occurs in Berkeley Sockets.

WSAEINPROGRESS – Error 10036

Comments:

One Response to “Socket error 10036”


  1. [...] Socket error 10036 – Operation now in progress A blocking operation is currently executing and takes [+] [...]

Leave a Reply