"Tony Lewis" <[EMAIL PROTECTED]> writes: > Could you keep an array of speeds that is updated once a second such that > the value from six seconds ago is discarded and when the value for the > second that just ended is recorded?
Right now I'm doing that kind of trick, but for the last N reads from the network. This translates to a larger interval for slower downloads, and the other way around, which is, I think, what one would want.