bind_common

Function bind_common 

Source
pub fn bind_common(
    ip_addr: IpAddr,
    port: u16,
) -> Result<(UdpSocket, TcpListener)>
👎Deprecated since 3.0.0: Please avoid this function in favor of sockets::bind_common_with_config
Expand description

binds both a UdpSocket and a TcpListener