lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] Rapid tcp sending leads to a very long chain of pbufs


From: bill
Subject: RE: [lwip-users] Rapid tcp sending leads to a very long chain of pbufs
Date: Tue, 25 Nov 2008 15:11:45 -0500

> The two possible solutions you have right now are either to modify your
> ethernet driver or to redesign your application to not call send() for
> each byte. The latter would of course be the better solution.

I agree with the latter.  I think it's pretty straight forward to start a
timer for some period (1-5S) on each character to be sent and on a timeout
of that timer, or on a full buffer, call send(). Basically what Nagle does
but you're doing it at the application layer.

Bill





reply via email to

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