Using MbedTLS to create an encrypted TCP server

What are you having trouble with beyond Usage of MbedTLS with TCP sockets? I think you may have more success finding help if you can describe your goal and difficulties in a bit more detail.