Hi,
Why is the interval duration of the keep-alive messages is hard-coded to 5 minutes - and not "user-configurable" ?
I've got a server socket on the CC3200 in AP mode.
In the event the client "hard-disconnect" (e.g. loose wifi connectivity to AP) prior to terminate its client socket the CC3200 will not notice before the keep-alive message is sent - that is 5 minutes.
So during those 5 minutes one socket will be left in EAGAIN/EWOULDBLOCK multiplied by used sockets multiplied by successive "hard-disconnected" clients - this can under certain circumstances quickly consume all available sockets/resources.
One can easily implement an "application timeout" or match AP clients to Socket clients to have the desired granularity - agreed - but keep-alives are, well, designed for that.
Thanks for any info on this !