---
title: kCFStreamPropertySOCKSProxyPort
framework: corefoundation
role: symbol
role_heading: Global Variable
path: corefoundation/kcfstreampropertysocksproxyport
---

# kCFStreamPropertySOCKSProxyPort

Constant for the SOCKS proxy host port key.

## Declaration

```swift
let kCFStreamPropertySOCKSProxyPort: CFString
```

## Discussion

Discussion This key contains a CFNumberRef object of type kCFNumberSInt32Type whose value represents the port on which the proxy listens.

## See Also

### Constants

- [kCFStreamPropertySOCKSProxyHost](corefoundation/kcfstreampropertysocksproxyhost.md)
- [kCFStreamPropertySOCKSVersion](corefoundation/kcfstreampropertysocksversion.md)
- [kCFStreamSocketSOCKSVersion4](corefoundation/kcfstreamsocketsocksversion4.md)
- [kCFStreamSocketSOCKSVersion5](corefoundation/kcfstreamsocketsocksversion5.md)
- [kCFStreamPropertySOCKSUser](corefoundation/kcfstreampropertysocksuser.md)
- [kCFStreamPropertySOCKSPassword](corefoundation/kcfstreampropertysockspassword.md)
