Skip to main content
paulsmitton9157
Associate II
December 22, 2015
Question

STM32CUBE : lwip problem

  • December 22, 2015
  • 1 reply
  • 603 views
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

    This topic has been closed for replies.

    1 reply

    Nickname5522_O
    Visitor II
    December 29, 2015
    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-