IpAddr
Type of IP addresses, and its functions.
case V4(Ipv4Addr)case V6(Ipv6Addr)Type of IP addresses.
An IP address is either an IPv4 or an IPv6 address.
Instances
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.