|
From: | address@hidden |
Subject: | Re: [lwip-users] tcp_poll(), event handlers and possible misinformation |
Date: | Wed, 01 Jul 2009 17:17:30 +0200 |
User-agent: | Thunderbird 2.0.0.22 (Macintosh/20090605) |
Bill Auerbach wrote:
That's true if you only have one connection. However, if you have more than one, chances are that all the memory is occupied by another connection thus tcp_sent wouldn't get called for the first connection.Maybe this is legacy now. If tcp_write cannot send data, it will be called by the stack when data can be sent. Or empirically, I don't use tcp_poll (it gave me problems) and I don't have memory to send 500k at once. tcp_sent is simply called until I am able to send all of my data.
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |