9 years, 3 months ago.

When TLSClient finished its connection, TLSServer doesn't accept new connection.


I gave a try to this TLS_cyassl-Example2 demo code, but I noticed that when the connection with a client is finished, the server doesn't see it as disonnected, and since there is no threading yet for multiple connection, it is simply doesn't look for any new connection until I reset the program.

Any clue how disconnection should be handled ?

Question relating to:

This example show how to create a small TLS server using the TLS_cyassl library. CyaSSL, TLS
Be the first to answer this question.