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
The WSA_FLAG_NO_HANDLE_INHERIT is available starting from Windows 7
(sp1) which only matches rustc's target platform for Windows, but not
the runtime target platforms.
This function isn't available when targeting UWP.
Instead:
- Create all sockets with the WSA_FLAG_NO_HANDLE_INHERIT flag
The socket created by accept() need not to explicitely disable handle
inheritance, since the documentation states «The newly created socket
is the socket that will handle the actual connection; it has the same
properties as socket s, including the asynchronous events registered
with the WSAAsyncSelect or WSAEventSelect functions.»
- Pass a boolean flag to allow the 'their' end of pipes to be
inheritable directly upon creating it, instead of a later call to
SetHandleInformation
0 commit comments