init(_:host:)

Creates a new IPv6 SocketAddress.

SocketAddresses.swift:289
init(_ addr: sockaddr_in6, host: String)

Parameters

addr

the sockaddr_in that holds the ipaddress and port.

host

the hostname that resolved to the ipaddress.