On April 10th, 2008 Geoff Eagles (not verified) says:
Works fine ONLY when the file being transferred is on the local server. fread(), when connected to a stream, only reads until a packet becomes available (it pays no attention to the value of SPEED) so, your delays won't work as intended.
With a caveat
Works fine ONLY when the file being transferred is on the local server. fread(), when connected to a stream, only reads until a packet becomes available (it pays no attention to the value of SPEED) so, your delays won't work as intended.