Instance Property

asIPv4

Extracts the IPv4 address contained within the IPv6 address, if the IPv6 address is an IPv4-mapped or IPv4-compatible address.

Declaration

var asIPv4: IPv4Address? { get }

See Also

Creating Addresses

init?(String)

Initializes an IPv6 address with a string.

init?(Data, NWInterface?)

Initializes an IPv6 address with data.