solana_net_utils

Function bind_to

source
pub fn bind_to(ip_addr: IpAddr, port: u16, reuseaddr: bool) -> Result<UdpSocket>