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