pub fn bind_common_in_range_with_config(
ip_addr: IpAddr,
range: PortRange,
config: SocketConfig,
) -> Result<(u16, (UdpSocket, TcpListener))>
👎Deprecated since 3.0.0: Please use the equivalent from solana-net-utils::sockets
Expand description
Find a port in the given range with a socket config that is available for both TCP and UDP