solana_net_utils

Function parse_host_port

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