solana_net_utils

Function bind_in_range

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