<!--
{
  "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/NEAppProxyTCPFlow",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEAppProxyTCPFlow"
  },
  "title" : "NEAppProxyTCPFlow"
}
-->

# NEAppProxyTCPFlow

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

```
class NEAppProxyTCPFlow
```

## Overview

App Proxy Providers receive TCP connections to be proxied in the form of `NEAppProxyTCPFlow` objects.

## Topics

### Handling flow data

[`-  writeData:withCompletionHandler:`](/documentation/NetworkExtension/NEAppProxyTCPFlow/write(_:withCompletionHandler:))

Write data to the flow.

[`-  readDataWithCompletionHandler:`](/documentation/NetworkExtension/NEAppProxyTCPFlow/readData(completionHandler:))

Read data from the flow.

### Getting flow information

[`remoteEndpoint`](/documentation/NetworkExtension/NEAppProxyTCPFlow/remoteEndpoint)

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

## Relationships

### Conforms To

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

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

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

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

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

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

### 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)