Hi,
I'm having a issue with the demo application "lwip_httpsrv_freertos" for the I.MX RT1050 EVK.
The application runs perfect but if I disconnect my Ethernet cable I don't get a disconnect callback for the websocket echo connection. This means the created session keeps running and is using session space for nothing. This could block new sessions.
Any solutions to this issue?
I'm using the last SDK v2.5.1
Have a nice day,
Koen
Hi Koen:
There is a ''keep allive" feature for a TCP socket connection . If one connection is silent for tcp_keepalive_time seconds, send a keep alive packet to the peer several times. If no response has been received at this point, send a RST and terminate the connection.
Regards
Daniel