Function ipv4_resolve

Source
pub fn ipv4_resolve(addr: &str) -> Result<SocketAddr, Error>
Expand description

Resolve the ipv4 SocketAddr from an IP or hostname string.