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