#include <cafe.h> #include <cafe/nssl/nsslclient.h> NSSL_RVAL NSSLWrite(NSSLConnectionHandle connection, const void* pBuf, int len, int* pBytesWritten);
|connection||A handle to a SSL connection to write to.|
|pBuf||Buffer to write into. (The buffer size and address should be aligned to
|len||Number of bytes to write.|
|pBytesWritten||A pointer to hold the count of bytes written.|
||The SSL connection has been closed.|
||(Only applicable for
non-blocking connections) The operation did
not complete; the same NSSL I/O function should be
called again later. If, by then, the underlying socket has
data available for reading (if the result code is
||Some IO error occurred on the underlying socket.|
||A failure in the SSL library occurred.|
Writes to the SSL connection. The count of bytes written is written into pBytesWritten when completed.
|Callbacks||Do not call this function from any callback function.|
|Interrupt handler||Do not call this function from any interrupt handler.|
|Exception handler||Do not call this function from any exception handler.|
2012/08/16 Cleanup pass.
2012/04/06 Initial version.