Ipv4Addr
case Ipv4Addr(Int8, Int8, Int8, Int8)Represents a V4 Ip Address.
Definitions
def fromString(s: String): Option[Ipv4Addr]
SourceAttempts to parse the given String s as an Ipv4Addr.
Returns Some(addr) if the string was successfully parsed. Otherwise returns None.
def localhost(): Ipv4Addr
SourceReturns the Ipv4 localhost address.
def toIpv6(x: Ipv4Addr): Ipv6Addr
SourceConvert x from Ipv4 to Ipv6.
def toString(x: Ipv4Addr): String
SourceReturns a String representation of the given Ipv4Addr x.