solana_streamer::nonblocking::recvmmsg

Function recv_mmsg

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

Pulls some packets from the socket into the specified container returning how many packets were read