vibe-d / eventcore

High performance proactor event loop abstraction library
MIT License
60 stars 42 forks source link

Fix WinAPIEventDriverSockets(IOMode.immediate). #200

Closed s-ludwig closed 2 years ago

s-ludwig commented 2 years ago

Yields WSAWOULDBLOCK instead of WSA_IO_PENDING, because "immediate" works without overlapped I/O. Results in IOStatus.wouldBlock instead of IOStatus.error and causes TCPConnection.waitForData(Ex) to not erroneously indicate a disconnect.