[p2p-hackers] About detecting the transfer speed

Yifei Zeng mac.ibook at gmail.com
Sun Nov 20 22:09:44 UTC 2005


Hi guys.

I am currently writing a small p2p program. I need to show the  
transfer (for files) speed to the users. The language is Java.

However, could anyone give a hit for how to detect the transfer  
speed? I am using NIO (non-blocking I/O) in java. As every message is  
sent behind the scene, how can I know the
actual transfer speed of each message / file?

Thanks

oOde



More information about the P2p-hackers mailing list