lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Re: tx badnwidth


From: Kieran Mansley
Subject: Re: [lwip-users] Re: tx badnwidth
Date: Fri, 06 Mar 2009 15:26:11 +0000

On Fri, 2009-03-06 at 09:05 +0000, Kieran Mansley wrote:
> On Thu, 2009-03-05 at 18:14 +0100, address@hidden wrote:
> > Kieran Mansley wrote:
> > > You can probably get away with leaving TCP_WND alone
> > > if you're acting purely as a sender of packets,
> > In fact, I think you won't, as TCP_WND is not only the announced receive 
> > window size but serves as a limit for transmit window, too.
> 
> I thought that sounded familiar and had a look for it in the source
> before posting, but couldn't find where this happened.  Can you remind
> me?

I've had another look and still can't find this.  The only bit that
might be what you're referring to is in tcp_connect():

  pcb->snd_wnd = TCP_WND;

However, pcb->snd_wnd will be overwritten with the real window size when
we get the SYN-ACK back from the other end.

Kieran





reply via email to

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