lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Slow release time of closed TCP PCBs


From: Lou Cypher
Subject: Re: [lwip-users] Slow release time of closed TCP PCBs
Date: Thu, 18 Jun 2009 11:00:36 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> What you are seeing is that the PCBs are remaining in a wait-state for
> some time. This is to prevent packets from the old (closed) connection
> being possibly accept on a new connection. The port stays known to the
> stack and it can send RST packets when new packets for that port are
> received. However, while these PCBs are not yet freed, they are *not* in
> an active state any more, thus tcp_slowtmr is correct.

Everything is clear, does make sense to me.
How long can be "some time"? :)

> I guess you'll have to set MEMP_NUM_TCP_PCB higher so that the timeout
> does not keep all PCBs open...

Well, provided I can't lower that time above, looks like the only way out (...)

Thanks for help,

  Lou






reply via email to

[Prev in Thread] Current Thread [Next in Thread]