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

# NEFilterSocketFlow

A flow of network data that the filter examines.

```
class NEFilterSocketFlow
```

## Topics

### Getting socket flow properties

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

An object containing details about the socket’s remote endpoint.

[`remoteHostname`](/documentation/NetworkExtension/NEFilterSocketFlow/remoteHostname)

The flow’s remote hostname, if applicable.

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

The abstract base class for types that represent flows of network data.

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

An object containing details about the socket’s local endpoint.

[`socketFamily`](/documentation/NetworkExtension/NEFilterSocketFlow/socketFamily)

The protocol family of the socket.

[`socketType`](/documentation/NetworkExtension/NEFilterSocketFlow/socketType)

The type of the socket.

[`socketProtocol`](/documentation/NetworkExtension/NEFilterSocketFlow/socketProtocol)

The protocol of the socket.

## Relationships

### Conforms To

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

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

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

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

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

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCoding`](/documentation/Foundation/NSCoding)

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

### Inherits From

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

---

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)