You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will produce an error with code 10041 (WSAEPROTOTYPE).
This was tested on stable Rust (1.0.0).
After a bit digging, turns out this particular piece of code might be the cause of the breakage. According to the Winsock docs, The WSA_FLAG_NO_HANDLE_INHERIT flag is supported on at least Windows 7 SP1, so running on vanilla Windows 7 would not work and would apparently break your program.
Activity
sfackler commentedon Jun 24, 2015
cc @retep998 @alexcrichton
nagisa commentedon Jun 25, 2015
Might be similar to #26518.
std: Avoid the WSA_FLAG_NO_HANDLE_INHERIT option