solana_net_utils

Function bind_two_in_range_with_offset

Source
pub fn bind_two_in_range_with_offset(
    ip_addr: IpAddr,
    range: PortRange,
    offset: u16,
) -> Result<((u16, UdpSocket), (u16, UdpSocket))>