Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by kcott (Archbishop)
on Sep 22, 2016 at 08:10 UTC ( [id://1172349]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl -l
    
    ...
            print $line;
        }
    }
    
  2. or download this
    1474530606.74812
    0
    ...
    1474530609.75927
    10
    11
    
  3. or download this
    last unless @packets;
    my $line = shift @packets;
    
  4. or download this
    last if eof $fh;
    my $line = <$fh>;
    
  5. or download this
    ualarm 1 if $line == 6;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-19 17:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found