Function spurs::util::get_host_ip

source ·
pub fn get_host_ip<A: ToSocketAddrs>(addr: A) -> (IpAddr, u16)
Expand description

Given a host:ip address, return (host, ip).