<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEAppProxyUDPFlow",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEAppProxyUDPFlow"
  },
  "title" : "NEAppProxyUDPFlow"
}
-->

# NEAppProxyUDPFlow

An object for reading and writing data to and from a UDP conversation being proxied by the provider.

```
class NEAppProxyUDPFlow
```

## Overview

App Proxy Providers receive UDP connections to be proxied in the form of `NEAppProxyUDPFlow` objects.

## Topics

### Handling flow data

[`-  readDatagramsWithCompletionHandler:`](/documentation/NetworkExtension/NEAppProxyUDPFlow/readDatagrams(completionHandler:)-9z8gw)

Read datagrams from the flow.

[`-  writeDatagrams:sentByEndpoints:completionHandler:`](/documentation/NetworkExtension/NEAppProxyUDPFlow/writeDatagrams(_:sentBy:completionHandler:))

Write datagrams to the flow.

### Getting flow information

[`localEndpoint`](/documentation/NetworkExtension/NEAppProxyUDPFlow/localEndpoint)

An [`NWEndpoint`](/documentation/NetworkExtension/NWEndpoint) object containing information about the local endpoint of the flow.

## Relationships

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

### Inherits From

[`NEAppProxyFlow`](/documentation/NetworkExtension/NEAppProxyFlow)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)