Embedded TCP/IP stack
4.7.0
|
fnet_ssize_t fnet_tls_socket_send | ( | fnet_tls_socket_t | tls_sock, |
const fnet_uint8_t * | buf, | ||
fnet_size_t | len | ||
) |
Send data on a TLS socket.
tls_sock | TLS socket descriptor. |
buf | Buffer containing data to be transmitted. |
len | Length of the data in buf . |
len
.This function sends data over TLS layer.
The number of actually sent bytes can be between 0
and the requested length, depending on buffer availability on both client and server machines.
If the function returns FNET_ERR the current TLS connection must be closed.