Confusion in MSDN about winsock connect()



MSDN About the return value of connect():

"If no error occurs, connect returns zero. Otherwise, it returns
SOCKET_ERROR, and a specific error code can be retrieved by calling
WSAGetLastError.

On a blocking socket, the return value indicates success or failure of
the connection attempt.

With a nonblocking socket, ****the connection attempt cannot be
completed immediately.***** In this case, connect will return
SOCKET_ERROR, and WSAGetLastError will return WSAEWOULDBLOCK. In this
case, there are three possible scenarios:..."

It doesn't say clearly whether on a non blocking socket if the
connection attempt can be completed immediately, that's, connect on
nonblocking socket returns immediately with success.


.