Function

SSLGetBufferedReadSize

Determines how much data is available to be read.

Declaration

OSStatus SSLGetBufferedReadSize(SSLContextRef context, size_t *bufferSize);

Parameters

context

An SSL session context reference.

bufSize

On return, the size of the data to be read.

Return Value

A result code. See Secure Transport Result Codes.

Discussion

This function determines how much data you can be guaranteed to obtain in a call to the SSLRead function. This function does not block or cause any low-level read operations to occur.

See Also

Read Operations

SSLRead

Performs a normal application-level read operation.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software