solana_net_utils

Function bind_two_in_range_with_offset_and_config

Source
pub fn bind_two_in_range_with_offset_and_config(
    ip_addr: IpAddr,
    range: PortRange,
    offset: u16,
    sock1_config: SocketConfig,
    sock2_config: SocketConfig,
) -> Result<((u16, UdpSocket), (u16, UdpSocket))>