Kieran Mansley 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.
Yep, I can't find it either. Don't know where I had that from, sorry if I confused you ;-)

Simon


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

Reply via email to