Function veloren_client::addr::resolve

source ·
pub(crate) async fn resolve(
    address: &str,
    prefer_ipv6: bool
) -> Result<Vec<SocketAddr>, Error>
Expand description

Parse ip address or resolves hostname. Note: If you use an ipv6 address, the number after the last colon will be used as the port unless you use [] around the address.