solana_net_utils

Function parse_host

source
pub fn parse_host(host: &str) -> Result<IpAddr, String>