|
Electroneum
|
interface for throttling of connection (count and rate-limit speed etc) More...
#include "net/network_throttle-detail.hpp"
Go to the source code of this file.
Namespaces | |
| epee | |
| epee::net_utils | |
interface for throttling of connection (count and rate-limit speed etc)
Throttling work by: 1) taking note of all traffic (hooks added e.g. to connection class) and measuring speed 2) depending on that information we sleep before sending out data (or send smaller portions of data) 3) depending on the information we can also sleep before sending requests or ask for smaller sets of data to download
Definition in file network_throttle.cpp.