Instance Property

isIPv4Mapped

A Boolean indicating whether the address is an IPv4-mapped address.

Declaration

var isIPv4Mapped: Bool { get }

See Also

Inspecting Address Properties

var rawValue: Data

The raw data of an IPv6 address.

let interface: NWInterface?

The IPv6 scoped interface associated with this address.

var multicastScope: IPv6Address.Scope?

The IPv6 multicast scope of the address.

enum IPv6Address.Scope

An IPv6 multicast scope.

var isAny: Bool

A Boolean indicating whether the address is the unspecified address (::).

var is6to4: Bool

A Boolean indicating whether the address is a 6to4 address.

var isIPv4Compatabile: Bool

A Boolean indicating whether the address is IPv4-compatible.

var isLinkLocal: Bool

A Boolean indicating whether this address is in a link-local range.

var isLoopback: Bool

A Boolean indicating whether this address is a loopback address for the local device.

var isMulticast: Bool

A Boolean indicating whether this address is a multicast address.

var debugDescription: String

The description of the IP address.