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: Oscar F
Subject: Re: [lwip-users] More question. flush
Date: Wed, 16 Sep 2009 12:09:04 +0200

thanks, but two things
 a) sometines i only have to send 10 bytes is that a big problem?
 b) the Nagle algorithm, i don´t known by default its value. I should use this function setsockopt to desactivate that option no?

thanks
Oscar


 

 

On Wed, Sep 16, 2009 at 11:40 AM, Kieran Mansley <address@hidden> wrote:
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



_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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