pub fn verify_all_reachable_tcp(
ip_echo_server_addr: &SocketAddr,
tcp_listeners: Vec<TcpListener>,
) -> bool👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Expand description
Checks if all of the provided TCP 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.