forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


dreadnet.dll not reading download/upload speed from adapter

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Hippo
Contributor
Contributor


Joined: 08 Feb 2005
Posts: 53

PostPosted: Fri Feb 18, 2005 4:55 pm    Post subject: dreadnet.dll not reading download/upload speed from adapter Reply with quote

I dont know wether this is a bug as such or wether its a limitation of the DLL. I have a few internet buddies who have tried out my bandwidth monitor for me, its nice to have beta testers Smile

One of my beta testers reports that it does not detect traffic on his wifi adapter. If he connects his wired LAN up then it works. I have a wifi card on my laptop and it reads that perfectly.

I personally dont think this is a bug, more a limitation of the method used to read the values, although I dont quite understand why it can read my wifi card and not his Confused

Any ideas Dr. Dread?
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Sat Feb 19, 2005 9:45 am    Post subject: Reply with quote

Naaa, actually not! I mentioned in another thread that the DLL uses Windows' Management Information
Base API to plug into Win network stats.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mib/mib/mib_structures.asp

The DLL only reports traffic on the ethernet interface.

So somehow traffic on your tester's computer is not reported by MIB as ethernet traffic. Frankly it escapes me why.... Crying or Very sad

Greetz
Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Hippo
Contributor
Contributor


Joined: 08 Feb 2005
Posts: 53

PostPosted: Sat Feb 19, 2005 11:05 am    Post subject: Reply with quote

Thanks Dread, you mentioned where you got the stats from before as you say, but I couldnt find the thread Embarassed

As you say the Windows MIB should be getting information for the adapter, and since its a Windows function it should work everytime.

I asked the guy with the problem to tell me about his hardware. He uses a Dlink wifi card with a Dlink AP/Router. He allows Windows to configure his wireless networking.

As far as I can see it must be an error within the Windows MIB, not picking up the ethernet traffic for the wifi card.

I might produce a small test script for him to run, to see what, if any, of the function for dreadnet.dll and hence Windows MIB work for him.

Out of interest what functions of the Windows MIB do you use to return the values of Inbytes,Outbytes,Infmat,Outfmat.

Thanks for your support Dread Very Happy
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Sat Feb 19, 2005 12:02 pm    Post subject: Reply with quote

It's the MIB_IFROW structure.

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group