Programatically determining maximum transfer rate

Posted by dauphic on Stack Overflow See other posts from Stack Overflow or by dauphic
Published on 2010-05-07T15:31:19Z Indexed on 2010/05/07 17:28 UTC
Read the original article Hit count: 277

Filed under:
|
|
|

I have a problem that requires me to calculate the maximum upload and download available, then limit my program's usage to a percentage of it. However, I can't think of a good way to find the maximums.

At the moment, the only solution I can come up with is transfering a few megabytes between the client and server, then measuring how ling the transfer took. This solution is very undesirable, however, because with 100,000 clients it could potentially result in too much of an increase to our server's bandwidth usage (which is already too high).

Does anyone have any solutions to this problem?

© Stack Overflow or respective owner

Related posts about networking

Related posts about c