Calculating Connection/Download Speed

Posted by kdbdallas on Stack Overflow See other posts from Stack Overflow or by kdbdallas
Published on 2008-12-16T07:20:14Z Indexed on 2010/03/11 19:34 UTC
Read the original article Hit count: 261

Filed under:
|

I have a client and server program (both in Obj-C) and I am transferring files between two devices using the programs.

The transferring is working fine, but I would like to display to the user what transfer rate they are getting.

So I know the total size of the file, and how much of the file has been transferred, is there a way to figure out the transfer rate from this information, and if not, what information do I need to calculate the transfer rate?

Thanks

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about objective-c