---
title: xpc_connection_t
framework: xpc
role: symbol
role_heading: Type Alias
path: xpc/xpc_connection_t
---

# xpc_connection_t

A type that represents a connection to a named service.

## Declaration

```swift
typealias xpc_connection_t = xpc_object_t
```

## See Also

### Creation

- [xpc_connection_create(_:_:)](xpc/xpc_connection_create(_:_:).md)
- [xpc_connection_create_from_endpoint(_:)](xpc/xpc_connection_create_from_endpoint(_:).md)
- [xpc_connection_create_mach_service(_:_:_:)](xpc/xpc_connection_create_mach_service(_:_:_:).md)
- [xpc_connection_set_target_queue(_:_:)](xpc/xpc_connection_set_target_queue(_:_:).md)
- [XPC_CONNECTION_MACH_SERVICE_LISTENER](xpc/xpc_connection_mach_service_listener.md)
- [XPC_CONNECTION_MACH_SERVICE_PRIVILEGED](xpc/xpc_connection_mach_service_privileged.md)
