solana_net_utils

Function parse_host_port

Source
pub fn parse_host_port(host_port: &str) -> Result<SocketAddr, String>