solana_net_utils

Function bind_common

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