tags:

views:

144

answers:

2

Hello forum,

Does anybody know how to limit/control the bandwidth of twsocket (client) in ICS components in Delphi? We have a small program that maps a port to squid. The software using ICS components that carries requests from the LAN arrives at one port to the port of squid, and returns the contents back to the originating IP. Can somebody shed some light as how to control the bandwidth to limit to certain KB/s, to keep bad boys out from using whole resources? Some code snippets may be highly appreciated.

Thanks in advance.

+3  A: 

It is descriped in then FAQ (look for "Bandwidth control").
http://users.telenet.be/sonal.nv/ics/faq/Frame_index.html

There is also a link to a component implementing it

BennyBechDk
Thanks for your point, will give look.
chukkan
OK got the comp; will give it a try, thank you for pointing to right place.
chukkan
A: 

It seems you ar trying to simulate network constraints. The are several comercial applications for that purpose, that also simulate latency (thats another common problem in wans).
Example of the Comercial applications are: Netlimiter, Shunra

BennyBechDk