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

Tech-Archive recommends: Speed Up your PC by fixing your registry



That correct if more than 1 protocol driver exist, but not in the case when
only one protocol driver installed in the system
Arkady


"Farooque Khan" <farooque.khan[AT]gmail[DOT]com> wrote in message
news:uS6noIAeHHA.4188@xxxxxxxxxxxxxxxxxxxxxxx
AFAIK, a protocol driver gets a copy of the incoming and outgoing packets.
By delaying or dropping those packets, it cannot delay the network
traffic. An IM driver however can control the traffic.

--

Farooque Khan
Project Manager
Infospectrum India Pvt. Ltd.
farooque@xxxxxxxxxxxxxxxxx
Phone: +91 712 229 3711
www.info-spectrum.com

This e-mail may contain confidential or proprietary information. If you
are not the intended recipient please notify the author by replying to
this e-mail and please note that use, disclosure, distribution, copying or
printing of this e-mail or its attachments is strictly prohibited and may
be unlawful. Whilst this e-mail has been checked for viruses, the sender
takes no responsibility and recipients are advised to undertake their own
checks.


"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
news:%23HBHWn4dHHA.3996@xxxxxxxxxxxxxxxxxxxxxxx
The same as LSP it can postpond transmitting data to/from network card.
Arkady

"Farooque Khan" <farooque.khan[AT]gmail[DOT]com> wrote in message
news:eLMi9f4dHHA.4308@xxxxxxxxxxxxxxxxxxxxxxx
I doubt if a protocol driver (winpcap or other) can limit bandwidth.

--

Farooque Khan
Project Manager
Infospectrum India Pvt. Ltd.
farooque@xxxxxxxxxxxxxxxxx
Phone: +91 712 229 3711
www.info-spectrum.com

This e-mail may contain confidential or proprietary information. If you
are not the intended recipient please notify the author by replying to
this e-mail and please note that use, disclosure, distribution, copying
or printing of this e-mail or its attachments is strictly prohibited and
may be unlawful. Whilst this e-mail has been checked for viruses, the
sender takes no responsibility and recipients are advised to undertake
their own checks.


"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
news:uStCNwgdHHA.2332@xxxxxxxxxxxxxxxxxxxxxxx
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










.