---
title: endpoint
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsxpclistener/endpoint
---

# endpoint

Returns an endpoint object that may be sent over an existing connection.

## Declaration

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

## Discussion

Discussion The receiver of the endpoint can use this object to create a new connection to this NSXPCListener object. The resulting NSXPCListenerEndpoint object uniquely names this listener object across connections.

## See Also

### Related Documentation

- [Daemons and Services Programming Guide](apple-archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html.md)
