Enhance doc on ssl_write()
This commit is contained in:
parent
d68b65199f
commit
edd371a82c
1 changed files with 4 additions and 0 deletions
|
@ -1657,6 +1657,10 @@ int ssl_read( ssl_context *ssl, unsigned char *buf, size_t len );
|
||||||
* \note When this function returns POLARSSL_ERR_NET_WANT_WRITE,
|
* \note When this function returns POLARSSL_ERR_NET_WANT_WRITE,
|
||||||
* it must be called later with the *same* arguments,
|
* it must be called later with the *same* arguments,
|
||||||
* until it returns a positive value.
|
* until it returns a positive value.
|
||||||
|
*
|
||||||
|
* \note This function may write less than the number of bytes
|
||||||
|
* requested if len is greater than the maximum record length.
|
||||||
|
* For arbitrary-sized messages, it should be called in a loop.
|
||||||
*/
|
*/
|
||||||
int ssl_write( ssl_context *ssl, const unsigned char *buf, size_t len );
|
int ssl_write( ssl_context *ssl, const unsigned char *buf, size_t len );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue