Dnia 2004-09-06 17:02, UÅytkownik KanjiSoft Systems napisaÅ:
(...)
I'm afraid that to do this I have to write my own driver (NDIS or TDI).
Maybe watching abilities could be done by Winpcap and to control I could
use my driver? But I'm not sure is it sense to spread this functions.
Maybe You can recommend some good sites with tutorials about network
drivers and the way to exchange information between them and user level
applications to present informations?

I'm very interested in this kind of function. I've written some code which uses winpcap and an ndis driver to dyanmically markup qos bits on a stream. However, we could also use functionality similar to what you describe. What I'm unclear on is what technique should be used to limit bandwidth for a particular application, as netlimiter and net-peeker do. You can't throw away packets for UDP because those will be lost. Or maybe you can for multi-media apps, since a given packet doesn't make much difference. For TCP apps, you could also play with window sizes and so forth. It doesn't seem trivial - do you have some ideas?

I'm not expert in this things, but I think that with TCP there shouldn't be problem, because application should match its speed to actual available bandwidth. Soft (TCP?) doesn't know why packet didn't get destination (physical bandwidth was too narrow oraz our driver (firewall) drop (reject?) it). It should look similarly (but maybe I'm wrong, I didn't make any tests, but in QoS, HTB or CBQ have to make it in some kind).
In UDP responsibility is moved to developer who write soft. In apps when not every packet is necessary (e.g. FPP games) there shouldn't be much problem, because packets will be drop and if too many packets failed then game will "jump" like with slow connection and user will know that something is wrong.
In apps which using UDP to transfer important data (e.g. P2P networks) that soft have to check delivery in some way and it should trate packets lose as too slow connection and should decrease its speed.
But it's only my theory :)
What do you thing about it?


Marcin



==================================================================
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/[EMAIL PROTECTED]/

To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to