pub fn verify_reachable_ports(
ip_echo_server_addr: &SocketAddr,
tcp_listeners: Vec<(u16, TcpListener)>,
udp_sockets: &[&UdpSocket],
) -> bool
👎Deprecated since 2.2.0: use
verify_all_reachable_udp
and verify_all_reachable_tcp
insteadExpand description
Checks if all of the provided TCP/UDP ports are reachable by the machine at
ip_echo_server_addr
. Tests must complete within timeout provided.
Tests will run concurrently when possible, using up to 64 threads for IO.
This function assumes that all sockets are bound to the same IP, and will panic otherwise