I am using https client to talk to Https Server, it works fine. I have the following questions:
When I communicate with https server, it will take around 1s to negotiate with server, then I can send request to server, get the reply form server.
My question: Can I just do negotiation once, then keep sending request and getting reply every second for saving time?
Could you tell me what device are you using? I suggest reviewing the connection for WebSocket this session persistent connection between a client and server. If you need more information please let me know.
I am using FRDM-K66 with MbedTLS. The server is the device from other company...
I am just wondering if it is possible to keep http or https connection ON and keep sending and receiving from server because https negotiation take lots of time? Need to do something on server side as well?