Doc tune-ups
This commit is contained in:
parent
0b104b056b
commit
dad1ad739d
1 changed files with 3 additions and 5 deletions
|
@ -104,7 +104,7 @@ int mbedtls_net_bind( int *fd, const char *bind_ip, int port, int proto );
|
||||||
* MBEDTLS_ERR_NET_ACCEPT_FAILED, or
|
* MBEDTLS_ERR_NET_ACCEPT_FAILED, or
|
||||||
* MBEDTLS_ERR_NET_BUFFER_TOO_SMALL if buf_size is too small,
|
* MBEDTLS_ERR_NET_BUFFER_TOO_SMALL if buf_size is too small,
|
||||||
* MBEDTLS_ERR_SSL_WANT_READ if bind_fd was set to
|
* MBEDTLS_ERR_SSL_WANT_READ if bind_fd was set to
|
||||||
* non-blocking and accept() is blocking.
|
* non-blocking and accept() would block.
|
||||||
*
|
*
|
||||||
* \note With UDP, connects the bind_fd to the client and just copy
|
* \note With UDP, connects the bind_fd to the client and just copy
|
||||||
* its descriptor to client_fd. New clients will not be able
|
* its descriptor to client_fd. New clients will not be able
|
||||||
|
@ -151,8 +151,7 @@ void mbedtls_net_usleep( unsigned long usec );
|
||||||
*
|
*
|
||||||
* \return This function returns the number of bytes received,
|
* \return This function returns the number of bytes received,
|
||||||
* or a non-zero error code; with a non-blocking socket,
|
* or a non-zero error code; with a non-blocking socket,
|
||||||
* MBEDTLS_ERR_SSL_WANT_READ indicates read() would be
|
* MBEDTLS_ERR_SSL_WANT_READ indicates read() would block.
|
||||||
* blocking.
|
|
||||||
*/
|
*/
|
||||||
int mbedtls_net_recv( void *ctx, unsigned char *buf, size_t len );
|
int mbedtls_net_recv( void *ctx, unsigned char *buf, size_t len );
|
||||||
|
|
||||||
|
@ -166,8 +165,7 @@ int mbedtls_net_recv( void *ctx, unsigned char *buf, size_t len );
|
||||||
*
|
*
|
||||||
* \return This function returns the number of bytes sent,
|
* \return This function returns the number of bytes sent,
|
||||||
* or a non-zero error code; with a non-blocking socket,
|
* or a non-zero error code; with a non-blocking socket,
|
||||||
* MBEDTLS_ERR_SSL_WANT_WRITE indicates write() would be
|
* MBEDTLS_ERR_SSL_WANT_WRITE indicates write() would block.
|
||||||
* blocking.
|
|
||||||
*/
|
*/
|
||||||
int mbedtls_net_send( void *ctx, const unsigned char *buf, size_t len );
|
int mbedtls_net_send( void *ctx, const unsigned char *buf, size_t len );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue