STM32CUBE : lwip problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-12-22 7:19 AM
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
enabledTCP_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 , andI close it
, thisten
times, I will getTIME_WAIT
slots that will be
killed
after a while
,but without
decrementing
accepts_pending
Do
es someonefound a way to
bypass this limitation
?
As the lwip forum is completely dead I ask here, in case ... Regards
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-12-29 2:00 AM
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-