Net.IpAddr
case V4(Ipv4Addr)case V6(Ipv6Addr)Represents an IP address.
Definitions
Converts a List[Int8] into IpAddr
an Ipv4 is 4 bytes and Ipv6 is 16 bytes
Attempts to parse the given String s as an IpAddr.
Returns Some(addr) if the string was successfully parsed. Otherwise returns None.