Function get_public_ip_addr_with_binding

Source
pub fn get_public_ip_addr_with_binding(
    ip_echo_server_addr: &SocketAddr,
    bind_address: IpAddr,
) -> Result<IpAddr>
Expand description

Determine the public IP address of this machine by asking an ip_echo_server at the given address. This function will bind to the provided bind_addreess.