Enumeration

IPv6Address.Scope

An IPv6 multicast scope.

Declaration

enum IPv6Address.Scope : UInt8

Topics

Scope Values

case nodeLocal

The node-local multicast scope.

case linkLocal

The link-local multicast scope.

case siteLocal

The site-local multicast scope.

case organizationLocal

The organization-local multicast scope.

case global

The global multicast scope.

Comparison Functions

Instance Properties

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.

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 isIPv4Mapped: Bool

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

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.