How to Calculate TCP Data Length
- 1). Determine the size (bytes) of the file that will be downloaded. The size of the file is one of the most important factors for determining the TCP data length and the ability of your server to handle a large amount of traffic.
- 2). Determine the latency of your server, which is how long it takes a computer to connect to the server. You can do this by typing "ping" and the IP address of the server in "Command Prompt." The result will vary by location, so do the test in as many locations as possible if the contents will be downloaded from multiple locations.
- 3). Divide the file size by the latency per second. The result will be the TCP data length, often referred to as its throughput. You can compare this number with the technical specifications of your server to set a limit on the number of people who can download the file at a time.
Source...