[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] TCP_NODELAY
From: |
Kieran Mansley |
Subject: |
RE: [lwip-users] TCP_NODELAY |
Date: |
Wed, 15 Oct 2008 09:00:00 +0100 |
On Tue, 2008-10-14 at 13:10 -0400, bill wrote:
> > > How can I set TCP_NODELAY ON/OFF in RAW Mode? What is the Default
> > > condition?
> >
> > pcb->flags |= TF_NODELAY;
> >
> > I'm not sure if there's a supported way of doing this with the API but
> > the above will work for now. I think it defaults to 0, so the Nagle
> > algorithm will be used unless you set that flag.
>
> Does setting this serve any purpose in raw mode since TF_NODELAY is used
> only in sockets.c?
Yes, it's also used in tcp_output_do_nagle() in tcp.h
Kieran