solana_streamer::nonblocking::recvmmsg

Function recv_mmsg_exact

source
pub async fn recv_mmsg_exact(
    socket: &UdpSocket,
    packets: &mut [Packet],
) -> Result<usize>
Expand description

Reads the exact number of packets required to fill packets