Embedded TCP/IP stack
4.7.0
|
fnet_tls_socket_t fnet_tls_socket | ( | fnet_tls_desc_t | tls_desc, |
fnet_socket_t | sock | ||
) |
Create the TLS socket.
tls_desc | TLS context descriptor. |
sock | FNET socket descriptor. |
This function creates a TLS socket and returns its descriptor.
The data can be transferred using the fnet_tls_socket_send() and the fnet_tls_socket_recv() calls. When a session has been completed, the fnet_tls_socket_close() must be performed.