Function solana_net_utils::get_public_ip_addr [−][src]
pub fn get_public_ip_addr(
ip_echo_server_addr: &SocketAddr
) -> Result<IpAddr, String>
Determine the public IP address of this machine by asking an ip_echo_server at the given address