lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] More question. flush


From: Kieran Mansley
Subject: Re: [lwip-users] More question. flush
Date: Wed, 16 Sep 2009 10:40:48 +0100

On Wed, 2009-09-16 at 11:19 +0200, Oscar F wrote:
> Then i donĀ“t need flush, because lwip send the data without wait for a
> minimun size of internal buffer no?

lwIP will only wait if you have the Nagle algorithm enabled (controlled
by the NODELAY socket option) and there is less than 1 segment of data
to be sent and there is some data unacked by the other end.  In all
other cases it should send as soon as it can, as long as there is
sufficient TCP window space.  The delay introduced by the Nagle
algorithm will be rare (unless you send very small amounts of data) and
small.

Kieran





reply via email to

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