>> Ok. Than as Simon pointed out - the tcp_output avoids Nagle. I
>> followed the contrib/apps httpd example and without tcp_output calls I
>> needed TF_NODELAY.
>>
>> Which is right? I would hope that an lwIP contrib example would show
>> the* correct* way to implement something.
>>
>tcp_output avoids Nagle?
>
>Simon Goldschmidt wrote:
>
> > tcp_output() actually is the place where the nagle algorithm is
>implemented!
>
>It only avoids nagel if it is told so by the TF_NODELAY flag. And
>tcp_output is always needed! I'm confused.

I see - tcp_output isn't a "send now" - I thought it meant that (if not, why
do a tcp_write *and* a tcp_output?).  So with tcp_output, Nagle delays are
not circumvented.  The contrib example doesn't do tcp_output - so is it
optional?  Why?

Bill



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to