Skip to main content

is_public_v4

Function is_public_v4 

Source
pub fn is_public_v4(address: &str) -> bool
Expand description

Whether an address is one the public internet can route to.

Only IPv4: sslip.io encodes v6 too, but a v6-only box that reaches this path deserves to be told so rather than handed a name built by a rule this has not been exercised against.