---
title: SSLConnectionRef
framework: security
role: symbol
role_heading: Type Alias
path: security/sslconnectionref
---

# SSLConnectionRef

A pointer to an opaque I/O connection object.

## Declaration

```swift
typealias SSLConnectionRef = UnsafeRawPointer
```

## Discussion

Discussion The I/O connection object refers to data that identifies a connection. The connection data is opaque to Secure Transport; you can set it to any value that your application can use in the callback functions SSLReadFunc and SSLWriteFunc to uniquely identify the connection, such as a socket or endpoint. Use the SSLSetConnection(_:_:) function to assign a value to the connection object.
