remoteEndpoint
An object containing details about the socket’s remote endpoint.
Declaration
var remoteEndpoint: NWEndpoint? { get }Discussion
This endpoint object may be nil when the system calls your handleNewFlow(_:) method; if so, receiving network data populates the object. In such a case, the filter may still perform filtering, based on its socket type, socket family, or socket protocol.