CFStream SOCKS Proxy Key Constants

Constants for SOCKS Proxy CFDictionary keys.

Overview

When setting the stream's SOCKS Proxy property, the property’s value is a CFDictionary object containing at minimum the kCFStreamPropertySOCKSProxyHost and kCFStreamPropertySOCKSProxyPort keys. The dictionary may also contain the other keys described in this section.

Topics

Constants

kCFStreamPropertySOCKSProxyHost

Constant for the SOCKS proxy host key.

kCFStreamPropertySOCKSProxyPort

Constant for the SOCKS proxy host port key.

kCFStreamPropertySOCKSVersion

Constant for the SOCKS version key.

kCFStreamSocketSOCKSVersion4

Constant used in the kCFStreamSockerSOCKSVersion key to specify SOCKS4 as the SOCKS version for the stream.

kCFStreamSocketSOCKSVersion5

Constant used in the kCFStreamSOCKSVersion key to specify SOCKS5 as the SOCKS version for the stream.

kCFStreamPropertySOCKSUser

Constant for the key required to set a user name.

kCFStreamPropertySOCKSPassword

Constant for the key required to set a user’s password.