Reply To: Bandwidth limitation help needed

Home Forums Discussions Support Portal Bandwidth limitation help needed Reply To: Bandwidth limitation help needed

#5850

Vadim Smirnov
Moderator

Determine all connections for the application (with LHMON) and limit bandwidth for these connections. Usually bandwidth limit is realized using packets queue and timer. An example, timer triggeres each 100 ms, in the timer routine you calculate how many ms passed since last timer (Windows is not RTOS) and calculate how many bytes you can process from the application associated packets queue. After this you should process as many packets from the queue as covered by these bytes.

Hope it helps…