lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #34176] select after non-blocking send times out


From: Amir Shalem
Subject: [lwip-devel] [bug #34176] select after non-blocking send times out
Date: Wed, 19 Oct 2011 09:16:44 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1

Follow-up Comment #6, bug #34176 (project lwip):

The comment above  TCP_SNDLOWAT says it must be less than TCP_SND_BUF.

but, TCP_SND_BUF is by default defined to (2 * TCP_MSS)
and then
TCP_SNDLOWAT = MAX(TCP_SND_BUF / 2, 2 * TCP_MSS + 1) = MAX(TCP_SND_BUF / 2,
TCP_SND_BUF + 1) = TCP_SND_BUF + 1

to sum it up,
1. the MAX() macro is irrelevant, and TCP_SNDLOWAT equals TCP_SND_BUF + 1
2. its always bigger than TCP_SND_BUF.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?34176>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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