A pointer to a customized write function that secure transport calls to write data to the connection.
- iOS 5.0+
- macOS 10.2+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The SSL session connection reference.
A pointer to the data to write to the connection.You must allocate this memory before calling this function.
Before calling, an integer representing the length of the data in bytes. On return, this is the number of bytes actually transferred.
A result code. See Secure Transport Result Codes.
You may configure the underlying connection to operate in a non-blocking manner. In that case, a write operation may well return
err, indicating less data than requested was transferred and nothing is wrong except that the requested I/O hasn’t completed. This result is returned to the caller from the functions