mbedtls_net_send() function
Write at most 'len' characters. If no error occurs, the actual amount read is returned.
Syntax
int mbedtls_net_send( void *ctx,
const unsigned char *buf,
size_t len );
Arguments
buf
The buffer to read from
len
The length of the buffer
Return value
the number of bytes sent, or a non-zero error code; with a non-blocking socket, MBEDTLS_ERR_SSL_WANT_WRITE indicates write() would block.
Examples
mbedtls_net_send() is referenced by 6 libraries and example projects: