Function solana_net_utils::parse_port_or_addr [−][src]
pub fn parse_port_or_addr(
optstr: Option<&str>,
default_addr: SocketAddr
) -> SocketAddr
pub fn parse_port_or_addr(
optstr: Option<&str>,
default_addr: SocketAddr
) -> SocketAddr