pub fn bind_common_with_config(
ip_addr: IpAddr,
port: u16,
config: SocketConfig,
) -> 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 on the same port