I use the ESP32-WROVER-B module as a server for TCP / IP packets received via Wi-Fi from a personal computer running Windows 8.
The server part of the program for ESP32 is written using ordinary sockets. The client part for Windows is implemented in Visual Studio 2015 (.NET Framework 4.5.2) using System.Net.Sockets.TcpClient. This bundle works great, and until recently completely satisfied my needs.
Recently, I decided to protect messages sent between the client and the server using TLS. It seemed to me that mbedTLS could solve this problem. However, I do not have enough knowledge to solve it.
Please share links to examples of the implementation of such tasks.