moq_sock/lib.rs
1//! Socket and thread-per-core listener plumbing shared by the native MoQ
2//! runtimes.
3//!
4//! [`bind`] opens dual-stack UDP/TCP sockets with sane buffers;
5//! [`shard::Group`] forms and steers an `SO_REUSEPORT` group by QUIC connection
6//! id, so a worker-per-core listener keeps each connection on the socket that
7//! owns it; [`cpu`] pins those workers. Both `moq-tokio` and `moq-uring` build
8//! their worker groups on this crate, so the group-formation invariants live
9//! here once, in the group itself rather than in each caller.
10
11pub mod bind;
12pub mod cpu;
13pub mod shard;