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: [email protected]
Reporter: [email protected]
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
--