tags:

views:

100

answers:

1

Just for fun, I develop a download manager and I'd like to know if reading a large stack of data (i.e. 80 or 100KB) from a socket over the net makes the download speed higher, instead of reading 4KB for each loop iteration?

(My average download speed is 200KBPS when I download a file with firefox for example)

Thanks, Nir Tayeb.

+1  A: 
nosklo
I know that my transfer rate is small, but how can I use as much as possible from the transfer rate? how the read function affect on it?thanks.
@nirtayeb: Your operational system controls that. Most OSes have no traffic shaping, so you'll get full transfer rate on both methods, unless other process is also using the connection.
nosklo
thanks a lot :)