WSASend: are all I / O operations initiated by this stream still canceled when this stream exits?

http://www.lenholgate.com/blog/2008/02/major-vista-overlapped-io-change.html

The above article says:

Vista now allows threads to issue overlapping I / O requests and exit, and this will process requests and put them on the completion port.

But in the online documentation, Microsoft still has a warning:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms742203 (v = vs .85) .aspx

Note. All I / O operations initiated by this stream are canceled when this stream exits. For overlapping sockets, pending asynchronous operations can fail if the thread closes before operations are completed.

Can someone tell me that this MSDN Note / Waring is still valid for IOCP in conjunction with WSASend in Windows Server 2008 R2?

+4
source share

Source: https://habr.com/ru/post/1538851/


All Articles