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.
![]()
int mbedtls_net_send( void *ctx, const unsigned char *buf, size_t len );
mbedtls_net_send() reads 1 variable:
![]()
mbedtls_net_send()