Skip to main content

INCOMING_CAPACITY

Constant INCOMING_CAPACITY 

Source
pub const INCOMING_CAPACITY: usize = 1024;
Expand description

The most datagrams received and not yet taken from Incoming. When it is full, the receive threads wait, the sockets’ buffers fill and the kernel drops what does not fit, as when a receiver is slower than its senders: best-effort loses it, reliable repairs it. Without a bound, a fast sender made the receiver’s memory grow without end (rustorb-dds#110). 1024 datagrams are at most 64 MiB.