Files
swift-nio/Sources
Jake PetroulesandFabian Fett 385c1a7d48 [Windows] Implement sendmmsg (#3699)
### 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>
2026-08-18 11:41:02 +02:00
..
2024-09-12 13:18:25 +01:00
2026-07-07 15:46:28 +01:00
2026-07-07 15:46:28 +01:00
2025-10-06 10:58:33 +01:00
2025-05-07 12:24:44 +00:00
2025-05-07 12:24:44 +00:00