AnsweredAssumed Answered

STM32CUBE : lwip problem

Question asked by pipon.herve.001 on Dec 22, 2015
Latest reply on Dec 29, 2015 by 68516
I try to use STM32 cube and LWIP as it comes with ....
Unfortunately I'm a little wary
I enabled TCP_LISTEN_BACKLOG to limit the number of connection but the variable in charge of the current login count accepts_pending is not update properly
It is incremented in tcp_listen_input
and decremented in tcp_accepted and tcp_pcb_purge
In this former function it can not be decremented if the slot status is TIME_WAIT
So usually, if I make a ftp connexion , and I close it , this ten times, I will get TIME_WAIT slots that will be killed after a while, but without decrementing accepts_pending
Does someone found a way to bypass this limitation?

As the lwip forum is completely dead I ask here, in case ...