solana_streamer::sendmmsg

Function multi_target_send

source
pub fn multi_target_send<S, T>(
    sock: &UdpSocket,
    packet: T,
    dests: &[S],
) -> Result<(), SendPktsError>
where S: Borrow<SocketAddr>, T: AsRef<[u8]>,