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