An NWEndpoint
object containing details about the socket’s remote endpoint. This endpoint object may be nil when [NEFilter
is invoked; if so, it will be populated upon receiving network data. In such a case, flow filtering may still be performed based on its socket type, socket family, or socket protocol.
SDKs
- iOS 9.0+
- macOS 10.15+
- Mac Catalyst 13.0+
Framework
- Network
Extension
Declaration
var remoteEndpoint: NWEndpoint? { get }