[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwip does not ack retransmissions
From: |
Jonathan Larmour |
Subject: |
Re: [lwip-users] lwip does not ack retransmissions |
Date: |
Tue, 27 Jan 2009 23:40:28 +0000 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070530) |
bill wrote:
> What is your TCP_SND_QUEUELEN? If you tie up all of your pbufs to send
> queued packets, you won't have any pbufs left to support receiving packets.
It mostly depends what sort of pbufs. Most pbufs for tx data are PBUF_RAM,
most pbufs for rx data are PBUF_POOL, so those are different classes of
pbufs allocated from different places. The only likely time it seems
possible to have problems with reception if you've allocated so many
PBUF_RAM pbufs that the stack can't even generate an ACK packet. Unless you
are actually allocating PBUF_POOL pbufs in your application or something
like that, of course.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------ Opinions==mine