cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CUBE : lwip problem

paulsmitton9157
Associate II
Posted on December 22, 2015 at 16:19

Hello

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

Do

es someone

found a way to

bypass this limitation

?

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

Regards

1 REPLY 1
Posted on December 29, 2015 at 11:00

Hi pipon.herve.001,

This issue is related to the LwIP library. I advice you to ask your question on forums dedicated to LwIP.

Sorry I can not be of more help.

-Shahrzad-