I've got a backup application here which connects to various webservices and downloads/uploads files from ftp or http servers. What is the easiest way to limit the bandwidth usage of my application?
I need to do that because the application once installed and running will be slowing down internet access for all office people, which eventually will get me into hell. So I'd like to implement a speed-limit which is active during the work-hours and gets disabled at night.
To configure this, head to Settings > Update & Security > Windows Update > Advanced Options > Delivery Optimization > Advanced Options. Toggle the “Limit how much bandwidth is used for downloading updates in the background” option here.
Select Settings > Network & internet. In the network connection status at the top for the network you're connected to, select Data usage. To enter a data limit for that network, select Enter limit, choose the Limit type you have for your data plan, enter other limit info, and then select Save.
What you are looking for is called Bandwidth throttling And here is a good example how is this done, also review the comments to know how it is done from a client side.
You may also want to take a look at this example too, putting things in a real application
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With