Performs a typical application-level write operation.
- iOS 5.0–13.0Deprecated
- macOS 10.2–10.15Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–13.0Deprecated
- watchOS 2.0–6.0Deprecated
An SSL session context reference.
A pointer to the buffer of data to write.
The amount, in bytes, of data to write.
On return, the length, in bytes, of the data actually written.
A result code. See Secure Transport Result Codes.
SSLWrite function might call the
SSLWrite function that you provide (see
SSLSet). Because you may configure the underlying connection to operate in a no-blocking manner, a write operation might return
err, indicating that less data than requested was actually transferred. In this case, you should repeat the call to
SSLWrite until some other result is returned.