---
title: protocol
framework: corefoundation
role: symbol
role_heading: Instance Property
path: corefoundation/cfsocketsignature/protocol
---

# protocol

The protocol type of the socket.

## Declaration

```swift
var `protocol`: Int32
```
