mirror of
https://github.com/apple/swift-nio
synced 2026-11-22 04:30:41 +00:00
### Motivation: `CNIOWindows_sendmmsg` was a stub that asserted and then called `abort()`, so any code path reaching it took the whole process down: ``` Assertion failed: !"sendmmsg not implemented", file Sources\CNIOWindows\shim.c, line 26 ``` ### Modifications: Winsock has no `sendmmsg`, so emulate it by sending the messages one at a time — exactly what the Darwin shim does for the same reason. Error semantics match the Darwin implementation: a failure on the first message is reported to the caller. ### Result: Further progress on windows. Windows-only; no other platform is affected. --------- Co-authored-by: Fabian Fett <fabianfett@apple.com>