Reputation: 2287
If you see some famous FTP applications like Filezilla, they are intelligently using bandwidth resources. For example, flashget has an option to download a file at a particular bandwidth rate.
How actually are they limiting the bandwidth?
I want to implement a bandwidth limiter on my FTP code. Any study or example code about this would be very much helpful.
Upvotes: 0
Views: 1697
Reputation: 13460
FileZilla is open source, you could read the code for understanding the logic.
More so, since you want to implement it.
Have not looked at the code myself, but usually most limiting algorithms are based on some token-bucket schemes.
Upvotes: 1