init(_:)

Creates a new IPv6 SocketAddress.

SocketAddresses.swift:305
init(_ addr: sockaddr_in6)

Parameters

addr

the sockaddr_in that holds the ipaddress and port.