Creates an IPv6 address from an IPv6Address.
IPv6Address
init(_ ip: SocketAddress.IPv6Address)
s2IPAAO2V6V0A8_NIOCoreEyAD0C013SocketAddressO04IPv6E0Vcfc
40FBP
import IP_NIOCore
This module provides shims for compatibility with SwiftNIO’s IPv4Address and IPv6Address types.
IPv4Address
import IP
This Foundation-free module provides tools for parsing and formatting IP addresses, and data structures for performing efficient IP address lookups.
@frozen struct V6
An IPv6 address, which is 128 bits wide.
@frozen enum IP
The namespace for IP types.
struct IPv6Address
A single IPv6 address for SocketAddress.
SocketAddress
enum SocketAddress
Represent a socket address to which we may want to connect or bind.
init(_ ip: SocketAddress.IPv4Address)
Creates an IPv6 address from an IPv4Address by mapping it to IPv6.
init?(_ address: SocketAddress)
Creates an IPv6 address from a SocketAddress. IPv4 addresses are mapped to IPv6. Returns nil if the address is not an IP address.