I am working on an Embedded project with Lwip and mbedTLS stacks.
I a have a thread that manage a connection to a server on the port 21. This connection is encrypted with mbedTLS and everything works well.
Now I need to create another connection on the same server on a different port. This connection would be managed by a different thread.
Can I secured this second connection with the same ssl_context that I used to secure the first connection ? If yes, how should I do it ?
Thank you,
Emmanuel.