On Tue, 2009-07-28 at 08:35 -0700, Chris_S wrote: > That's problem #1. They don't seem to come back. > It just keeps burning through them until all 31 are gone. > I gave my console output listing before. They all get used up. > Isn't this the same issue as not Closing above?
Short on time at the moment, so I'll just address this one critical point. lwIP goes through all 31 PCBs, but should then recycle them from TIME_WAIT either when the timer expires or it needs one and there aren't any free. You mentioned changing the TCP_MSL and then seeing them recycled, so that seems to be working. If it tries to allocate one and finds there aren't any free, it prints out the message you saw, but should then take one from TIME_WAIT (at least in current code, not sure when this was introduced) - if you think this isn't working, please check (should be easy - see the first few lines of tcp_alloc() where it calls tcp_kill_timewait()) Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
