June 25, 2017 [Issue 17554] New: non-blocking connect doesn't work for TcpSocket on win | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17554 Issue ID: 17554 Summary: non-blocking connect doesn't work for TcpSocket on win Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: major Priority: P1 Component: phobos Assignee: nobody@puremagic.com Reporter: temtaime@gmail.com auto s = new TcpSocket; s.blocking = false; s.connect(addr); ubyte[1234] tmp; auto len = s.receive(arr); assert(len != Socket.ERROR || wouldHaveBlocked, s.getErrorText); fails with "the operation was completed successfully" and passes on linux -- |
Copyright © 1999-2021 by the D Language Foundation