Size the TCP receive window from link rate and RTT via the bandwidth-delay product.
Window (bytes) = rate × RTT / 8. Windows above 65535 need RFC 7323 window scaling.
100 Mbps × 50 ms → ~625 KiB windowBandwidth-delay product: the bytes that must be in flight to keep the link fully utilized.
Whenever the BDP exceeds 65535 bytes — true for most high-speed or high-RTT paths.