Winsock Error Codes - Brought to you by Winsock-Error.com

10036 "Operation now in progress."

WSAEINPROGRESS (Winsock error number: 10036)

Microsoft say this about Winsock error 10036 - WSAEINPROGRESS:

A blocking operation is currently executing. 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.

Full details of Winsock TCP error 10036 - WSAEINPROGRESS:

Berkeley description: An operation that takes a long time to complete (such as a) was attempted on a non-blocking socket. (see ioctl()).

WinSock description: The Windows Sockets definition of this error is very different from Berkeley. 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 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.

   
This page is designed to help you to understand Winsock TCP error 10036. It will not necessarily mean you can instantly fix issues when your computer tells you that Winsock is having problems with code 10036, rather it will give you the necessary background information to help solve the matter.

Programming declarations for 10036 (WSAEINPROGRESS):

C#
long WSAEINPROGRESS = 10036 ;

VB.net
Dim WSAEINPROGRESS As Long = 10036

VB6
Dim WSAEINPROGRESS As Long
WSAEINPROGRESS = 10036