---
title: localEndpoint
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/neappproxyudpflow/localendpoint
---

# localEndpoint

An NWEndpoint object containing information about the local endpoint of the flow.

## Declaration

```swift
var localEndpoint: NWEndpoint? { get }
```

## Discussion

Discussion This property may be nil if the corresponding UDP socket was not bound to a port by the application and the App Proxy Provider did not set a local endpoint in open(withLocalEndpoint:completionHandler:).
