The error code is a SOCKS proxy error.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Foundation
Declaration
const int kCFStreamErrorDomainSOCKS;
The error code is a SOCKS proxy error.
SDKs
Framework
const int kCFStreamErrorDomainSOCKS;
CFRead Stream Create For Streamed HTTPRequest
Creates a read stream for a CFHTTP request message object whose body is too long to keep in memory.
k CFStream Property HTTPFinal Request
HTTP Final Request property. A value of type CFHTTPMessage containing the final message transmitted by the stream after all modifications (including authentication, connection policy, redirects, and so on) have been made. This property cannot be set.
k CFStream Property HTTPFinal URL
HTTP Final URL property. A value of type CFURL containing the final HTTP URL. This value differs from the URL in the original HTTP request if an autoredirection occurred. This property cannot be set.
k CFStream Property HTTPProxy
Deprecatedk CFStream Property HTTPProxy Host
Deprecatedk CFStream Property HTTPProxy Port
Deprecatedk CFStream Property HTTPResponse Header
HTTP Response Header property. When copied by CFRead
, the header of an HTTP response message is returned.
k CFStream Property HTTPSProxy Host
Deprecatedk CFStream Property HTTPSProxy Port
Deprecatedk CFStream Property HTTPShould Autoredirect
HTTP Should Auto Redirect property. Set this property to k
to enable autoredirection; set this property to k
to disable autoredirection.
k CFStream Property FTPFetch Resource Info
Deprecatedk CFStream Property FTPFile Transfer Offset
FTP File Transfer Offset stream property key for set and copy operations. The value of this property is a CFNumber of type k
representing the file offset at which to start the transfer.
k CFStream Property FTPPassword
FTP Password stream property key for set and copy operations. A value of type CFString for storing the login password. Don’t set this property when anonymous FTP is desired.
k CFStream Property FTPProxy
FTP Proxy stream property key for set and copy operations. The property is a value of type CFDictionary that holds proxy dictionary key-value pairs. The dictionary returned by SystemConfiguration can also be set as the value of this property.
k CFStream Property FTPProxy Host
Deprecatedk CFStream Property FTPProxy Password
Deprecatedk CFStream Property FTPProxy Port
Deprecatedk CFStream Property FTPProxy User
Deprecatedk CFStream Property FTPResource Size
FTP Resource Size read stream property key copy operations. This property stores a CFNumber of type k
representing the size of a resource in bytes.
k CFStream Property FTPUse Passive Mode
FTP Passive Mode stream property key for set and copy operations. Set this property to k
to enable passive mode; set this property to k
to disable passive mode.
k CFStream Property FTPUser Name
FTP User Name stream property key for set and copy operations. A value of type CFString for storing the login user name. Don’t set this property when anonymous FTP is desired.
CFSocket Stream SOCKSGet Error
This function gets error codes in the k
domain from the CFStream
returned by a stream operation.
CFSocket Stream SOCKSGet Error Subdomain
Gets the error subdomain associated with errors in the k
domain from the CFStream
returned by a stream operation.
CFStream Create Pair With Socket To CFHost
Creates readable and writable streams connected to a given CFHost
object.
CFStream Create Pair With Socket To Net Service
Creates a pair of streams for a CFNetService.
k CFStream Network Service Type
The type of service for the stream. Providing the service type allows the system to properly handle certain attributes of the stream, including routing and suspension behavior. Most streams do not need to set this property. See Stream Service Types for a list of possible values.
k CFStream Network Service Type Background
Specifies that the stream is a background download.
k CFStream Network Service Type Video
Specifies that the stream is providing interactive video data.
k CFStream Network Service Type Voice
Specifies that the stream is providing interactive voice data.
k CFStream Error Domain FTP
The error code is an FTP error code.
k CFStream Error Domain HTTP
The error code is an HTTP error code.
k CFStream Error Domain Mach
The error code is a Mach error code defined in mach/error
.
k CFStream Error Domain Net DB
The error code is an error code defined in netdb
.
k CFStream Error Domain Net Services
The error code is a CFNet
error code. For details, see the CFNet
enumeration.
k CFStream Error Domain SSL
The error code is an SSL error code as defined in Security/Secure
.
k CFStream Error Domain System Configuration
The error code is a system configuration error code as defined in System/Configuration
.
k CFStream Error Domain Win Sock
When running CFNetwork code on Windows, this domain returns error codes associated with the underlying TCP/IP stack. You should also note that non-networking errors such as ENOMEM
are delivered through the POSIX domain. See the header winsock2
for relevant error codes.
k CFStream Property Connection Is Cellular
A boolean value indicating whether the stream is connected over a cellular (WWAN) interface. This is a read-only property, and is false
until the connection has been established.
k CFStream Property No Cellular
A Boolean value indicating that the connection should not be established over a cellular (WWAN) connection. This value can only be set before you open the stream.
k CFStream Property Proxy Local Bypass
Proxy Local Bypass property key.
k CFStream Property SOCKSPassword
Constant for the key required to set a user’s password.
k CFStream Property SOCKSProxy
SOCKS proxy property key.
k CFStream Property SOCKSProxy Host
Constant for the SOCKS proxy host key.
k CFStream Property SOCKSProxy Port
Constant for the SOCKS proxy host port key.
k CFStream Property SOCKSUser
Constant for the key required to set a user name.
k CFStream Property SOCKSVersion
Constant for the SOCKS version key.
k CFStream Property SSLPeer Certificates
SSL Peer Certificates property key for copy operations, which return a CFArray
object containing Sec
objects.
k CFStream Property SSLPeer Trust
SSL Peer Trust property key for copy operations, which return a Sec
object containing the result of the SSL handshake.
k CFStream Property SSLSettings
SSL Settings property key for set operations.
k CFStream Property Should Close Native Socket
Should Close Native Socket property key.
k CFStream Property Socket Remote Host
The key’s value is a CFHost
for the remote host if it is known. If not, its value is NULL
.
k CFStream Property Socket Remote Net Service
The key’s value is a CFNet
for the remote network service if it is known. If not, its value is NULL
.
k CFStream Property Socket Security Level
Socket Security Level property key.
k CFStream SSLAllows Any Root
Security property key whose value indicates whether root certificates should be allowed.
k CFStream SSLAllows Expired Certificates
Security property key whose value indicates whether expired certificates are allowed.
k CFStream SSLAllows Expired Roots
Security property whose value indicates whether expired root certificates are allowed.
k CFStream SSLCertificates
Security property key whose value is a CFArray of SecCertificateRefs except for the first element in the array, which is a SecIdentityRef.
k CFStream SSLIs Server
Security property key whose value indicates whether the connection is to act as a server in the SSL process.
k CFStream SSLLevel
Security property key whose value specifies the stream’s security level.
k CFStream SSLPeer Name
Security property key whose value overrides the name used for certificate verification.
k CFStream SSLValidates Certificate Chain
Security property key whose value indicates whether the certificate chain should be validated.
k CFStream Socket SOCKSVersion4
Constant used in the k
key to specify SOCKS4 as the SOCKS version for the stream.
k CFStream Socket SOCKSVersion5
Constant used in the k
key to specify SOCKS5 as the SOCKS version for the stream.
k CFStream Socket Security Level Negotiated SSL
Specifies that the highest level security protocol that can be negotiated be set as the security protocol for a socket stream.
k CFStream Socket Security Level None
Specifies that no security level be set.
k CFStream Socket Security Level SSLv2
Specifies that SSL version 2 be set as the security protocol for a socket stream.
k CFStream Socket Security Level SSLv3
Specifies that SSL version 3 be set as the security protocol for a socket stream pair.
k CFStream Socket Security Level TLSv1
Specifies that TLS version 1 be set as the security protocol for a socket stream.
CFStream Error HTTP
Error codes that a read stream for an HTTP request may return.
CFStream Error HTTPAuthentication
Authentication error codes that may be returned when trying to apply authentication to a request.
Error codes returned by the k
error domain.