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