|
From: | address@hidden |
Subject: | Re: [lwip-users] tcp_write |
Date: | Thu, 14 Jun 2018 15:12:13 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 14.06.2018 08:46, Amena El Homsi wrote:
In tcp_write() function, why we don't allocate segments bigger than half the maximum window we ever received?Is this a LwIP requirement or TCP protocol requirement?
This is to achieve decent throughput with remote hosts implementing delayed ack. Without having 2 or more segments in flight, they would wait ~250ms for each ack and connection speed would be very low.
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |