开发者

How to limit Clients Bandwidth from IP Address ? ( Delphi )

We have a LAN Network and a ADSL Router , I want to build an Application to control traffics of Clients , in fact I want to share Internet in Network with limiting bandwidth of clients .

be careful that there is no any application in clients that connected to the server , just one application in Server that it should control the traffics .

I can limit bandwidth of an Client Application when it connect to the Server with Changing ans Setting it`s IOHandler using Indy Components , but there is no any Client Application in Client Computers , and I want to do that by IP Address ( or Host Name ) ! , is it possible ?! in fact , we have some IP Address in a Network and we should limit traffic using of these IP Addresses ...

there is an example from Mr Zarko Gajic :

http://delphi.about.com/od/fullcodeprojects/l/aa112903a.htm

but it`s only for mon开发者_开发百科itoring , I want to Control the Traffic ...

How can I do it ?!

thanks before ...


Basically you wold need to write a proxy, route all traffic through the proxy, track and calculate each client bandwidth, and start to delay clients that request too much. Unless you have a good reason to write your own, there are ready-made solutions, i.e. Squid (https://serverfault.com/questions/79824/limiting-bandwidth-dynamically-in-squid).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜