|
-
December 21st, 2009, 08:28 AM
#1
download speed monitor accuracy
Hey guys. At the moment I'm working on a program that can give a read out of the speed of any downloads. The method that seemed simplest was to use the Winpcap libraries in statistical mode, set the filter accordingly and away we go. I first concentrated on trying to monitor the speeds of downloads using uTorrent. In the pcap_filter i set the appropriate port to monitor and it all works fine.
However the results I'm getting aren't especially accurate when compared to the actual download speeds given by uTorrent itself. Call me dumbass but when I convert from Bits per sec to Kilobytes per sec, should I be dividing by 8 then a thousand? or dividing by 8 then dividing by 1024. Either way i doubt very much whether that is the answer to my problems seeing how it tends to be out by about 100 or so at download speeds of between 600-800 kbs.
Is there any better way of monitoring network traffic, I mean I was pretty happy with the simplicity of the pcap libraries, until I found the results were off. Even smoothing out the peaks with a running average doesn't do much to bring the results more in line with those given by uTorrent.
Anyone with any suggestions or feedback? Ps I wasn't sure whether this should be in the networking section or this, opted for this cos it seems like more people come here Would really appreciate any thoughts on this....... cheers
Last edited by Cheezewizz; December 21st, 2009 at 09:32 AM.
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
|