Re: Can I limit the bandwidth of a network interface with WIN32 API?



No such API, you need to do it yourself with protocol driver winpcap use or
with LSP like http://www.netlimiter.com do
Arkady

"Niu Kun" <haoniukun@xxxxxxxxxxx> wrote in message
news:u68scSTdHHA.4868@xxxxxxxxxxxxxxxxxxxxxxx
Dear all,

I've been trying to write a program to limit the bandwidth of my network
device to a certain speed.
I searched all over the internet and didn't find much useful information.
What I find seems to be the best is the winpcap library.
But it mainly functions as a statistics tool or a filtering tool.
Or I may say that I want to limit the download bandwidth of a specific
network interface on my system.
Is there an API can help me with it?

Any help would be appreciated and thanks in advance.

Sincerely,
Kun


.



Relevant Pages

  • Re: WMI - howto get TX and RX packet count
    ... packets from a particular network interface in Windows ... possible using another method such as API call, ...
    (microsoft.public.win32.programmer.wmi)
  • Getting subnet mask
    ... What API can I use to get the subnet mask for a specific network interface? ... And how can I enumerate the network interfaces in a computer? ...
    (microsoft.public.win32.programmer.networks)