This program will create a SSL/TLS server task that uses Eliptic Curve Cryptographic (ECC) keys. To test the application you can use another NetBurner device configured as a client, or openssl. The command line options for openssl as of 13-Nov-2018 are:
openssl s_client -cipher ECDHE-ECDSA-AES256-GCM-SHA384 -connect <ip address>="">:<port>
For example: openssl s_client -cipher ECDHE-ECDSA-AES256-GCM-SHA384 -connect 10.1.1.191:8883
This example uses a simple read()
function to receive data from a TCP client.