Hi,
When Transfering a file using winsock how can you Calcule Transfer Rate and Time Left.
------------------
OmarSwan
[email protected]
http://www.omarswan.cjb.net
To God Be The Glory
Printable View
Hi,
When Transfering a file using winsock how can you Calcule Transfer Rate and Time Left.
------------------
OmarSwan
[email protected]
http://www.omarswan.cjb.net
To God Be The Glory
When sending a file using raw winsock you can use the following...
a). In the event of Winsock_DataArrival it has totalBytes as long, use that to measure how many kilobytes per second you are download it...
b). To get the time left, calculate full file size and work out how fast you are download at, see point (a) and then estimate it from there...
------------------
Regards,
Paul Rivoli
-------------------
[email protected]
http://users.bigpond.com/privoli