Without getting cozy with the operating system, you can't specify the amount of (TCP) packets that get sent.
If you want to rate limit a proxy for the number of packets, for example, the number of bytes sent, you can use Algorithm::TokenBucket to limit the number of bytes sent per second.
In reply to Re: Limit Socket (throttle) to send specific ammount of packets every second
by Corion
in thread Limit Socket (throttle) to send specific ammount of packets every second
by Lucas Rey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |