www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20313] New: Inconsistent behavior of wouldHaveBlocked on

https://issues.dlang.org/show_bug.cgi?id=20313

          Issue ID: 20313
           Summary: Inconsistent behavior of wouldHaveBlocked on Windows
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: destructionator gmail.com

On Linux, socket timeouts trigger wouldHaveBlocked but on Windows it does not,
and none of the std.socket functions offer a way to check that error code.

--
Oct 24 2019