withSockAddr(_:)

Calls the given function with a pointer to a sockaddr structure and the associated size of that structure.

SocketAddresses.swift:264
func withSockAddr<T>(_ body: (UnsafePointer<sockaddr>, Int) throws -> T) rethrows -> T