|
-
Feb 19th, 2000, 05:01 PM
#1
Thread Starter
Addicted Member
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
-
Feb 20th, 2000, 11:38 AM
#2
Lively Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|