Function port_check::is_port_reachable_with_timeout
source · pub fn is_port_reachable_with_timeout<A: ToSocketAddrs>(
address: A,
timeout: Duration
) -> bool
Expand description
Attempts a TCP connection to an address and returns whether it succeeded