Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Limit Socket (throttle) to send specific ammount of packets every second

by davido (Cardinal)
on Sep 22, 2016 at 15:07 UTC ( [id://1172372]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <p>
    Thank you, reading the page you link me, seem the [mod://Algorithm::To
    +kenBucket] is what I need. Unfortunately this is my first application
    + in Perl, so I'm not able to add module, and adding <code>use Algorit
    +hm::TokenBucket;</code> Will result in:
    ...
    </code>
    <p>Could you please help me?</p>
    <p>Thank you,<br />Lucas</p>
    
  2. or download this
    Can't locate Algorithm/TokenBucket.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./test.sh line 4.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1172372]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-06-18 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.