Expand description
Batched UDP I/O with per-datagram metadata: recvmmsg/sendmmsg on Linux with GRO/GSO
(UDP_GRO/UDP_SEGMENT), ECN and packet-info control messages; WSARecvMsg/WSASendMsg
on Windows with URO/USO, ECN and packet info; plain recvmsg/sendmsg on macOS and BSD
(no control messages there yet).
Structs§
- Recv
Meta - What the OS reported about one received datagram (or one GRO batch of datagrams).
- Transmit
- One datagram (or, with
segment_size, a GSO batch of datagrams) to send.
Constants§
- BATCH
- How many datagrams one batched call handles at most.