It is currently Sun May 19, 2013 8:57 pm



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: sample for GetAdapterPacketQueueSize
PostPosted: Wed Jun 09, 2010 12:59 pm 
Offline

Joined: Tue Apr 13, 2010 4:53 pm
Posts: 22
Hi,

Please sample code or application for how to use function GetAdapterPacketQueueSize.
Also one more doubt what's the use of function NdisrdRequest. What it will do exactly. If we do not use that function what will happen what i will do is get the adapter details from GetTcpipBoundAdaptersInfo and then read the packets from the adapters what ever i got from the function GetTcpipBoundAdaptersInfo. Please give the reply immediately.
Thanking you,

Regards,
Yathindra.


Top
 Profile  
 
 Post subject: Re: sample for GetAdapterPacketQueueSize
PostPosted: Thu Jun 10, 2010 8:39 am 
Offline

Joined: Tue Apr 13, 2010 4:53 pm
Posts: 22
Hi,
I need the sample code in delphi and also specify the importance of ndisrequest function.


Top
 Profile  
 
 Post subject: Re: sample for GetAdapterPacketQueueSize
PostPosted: Thu Jun 10, 2010 9:59 pm 
Offline
Site Admin

Joined: Wed Jul 26, 2006 12:22 pm
Posts: 507
GetAdapterPacketQueueSize was added on the customer request. Personally I never used it myself in WinpkFilter based projects. But it may have sense to use it an example when you have a single thread reading packets from several network interfaces. In this case you can use this call to determine the interface with the largest amount of packets queued and read that amount of packets in next API call.

NdisrdRequest is a wrapper around NdisRequest NDIS call. It only needed if you need to query some specific information from the network interface.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC + 2 hours