Performs a normal application-level read operation.
- iOS 5.0–13.0Deprecated
- macOS 10.2–10.15Deprecated
- UIKit for Mac 13.0–13.0Deprecated
- tvOS 9.0–13.0Deprecated
- watchOS 2.0–6.0Deprecated
An SSL session context reference.
On return, points to the data read. You must allocate this buffer before calling the function. The size of this buffer must be equal to or greater than the value in the
The amount of data you would like to read.
On return, points to the number of bytes actually read.
A result code. See Secure Transport Result Codes.
SSLRead function might call the
SSLRead function that you provide (see
SSLSet. Because you may configure the underlying connection to operate in a nonblocking manner, a read operation might return
err, indicating that less data than requested was actually transferred. In this case, you should repeat the call to
SSLRead until some other result is returned.