https://bugs.winehq.org/show_bug.cgi?id=53588
--- Comment #5 from Zeb Figura z.figura12@gmail.com --- (In reply to marc samuro from comment #4)
ok i think now we're getting somewhere, i have additional log info.
the application does these 3 calls when accepting a tcp call :
s = accept (listener setsockopt (s, WSAEventSelect (s,
and one of these 3 seems to return WSAENOTCONN 10057 to signal that the connection is already closed.
It seems that in Windows these 3 calls never fail. Windows probably does not test this early that the connection is down.
You don't have any idea which call is failing, though? Are the return values being tested, or just WSAGetLastError()?
Which socket option is being set?
We should never end up returning WSAENOTCONN from WSAEventSelect(), but we might propagate an ENOTCONN from the host for accept() or setsockopt().