---
title: endpoint
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nwtcpconnection/endpoint
---

# endpoint

The destination endpoint with which this connection was created.

## Declaration

```swift
var endpoint: NWEndpoint { get }
```

## See Also

### Getting connection properties

- [localAddress](networkextension/nwtcpconnection/localaddress.md)
- [remoteAddress](networkextension/nwtcpconnection/remoteaddress.md)
- [connectedPath](networkextension/nwtcpconnection/connectedpath.md)
- [txtRecord](networkextension/nwtcpconnection/txtrecord.md)
