|
From: | address@hidden |
Subject: | Re: [lwip-users] problem tcp_enqueue |
Date: | Tue, 11 May 2010 18:38:00 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
Nicolas Dioli wrote:
That's correct. So why don't you just increase TCP_SND_QUEUELEN if you really want to enqueue that many pbufs before sending? After all, that setting looks a little low for what you are doing.I think there is no free memory after output because of that: #define TCP_SND_QUEUELEN (8 * (TCP_SND_BUF)/(TCP_MSS)) = 8*512/536 =7.6 So when i arrived at this test: /* check for configured max queuelen and possible overflow */ if ((queuelen>= TCP_SND_QUEUELEN) || (queuelen> TCP_SNDQUEUELEN_OVERFLOW)) { i have a queuelen of 7 and i return an ERR_MEM.
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |