Open
Description
Description of defect
Hi, I would like to understand the purpose of the TLSSocket and the difference between using TLSSocket and using mbedtls_* (as in this example https://github.com/ARMmbed/mbed-os-example-tls/blob/master/tls-client/HelloHttpsClient.cpp) functions.
In addition, I would like to point out that TLSSocket::listen() is not yet implemented, as well as TLSSocket::accept() (https://os.mbed.com/docs/mbed-os/v6.14/apis/tlssocket.html) as they both return "NSAPI_ERROR_UNSUPPORTED" (https://github.com/ARMmbed/TLSSocket/blob/master/TLSSocketWrapper.cpp). If possible I would like to understand the reason behind this method not being implemented.
Best regards.
How is this defect reproduced ?
Use TLSSocket::listen() function.