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 <[email protected]> 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
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to