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

Re^3: capture output of tcpdump and PID

by thargas (Deacon)
on May 25, 2012 at 11:30 UTC ( #972403=note: print w/replies, xml ) Need Help??


in reply to Re^2: capture output of tcpdump and PID
in thread capture output of tcpdump and PID

The problem with just adding the time-comparison to the loop is that if nothing comes from tcpdump, the loop hangs waiting for something and your timeout code is never invokes. At least not until after something does come in. Perhaps this is not an issue in your case.
  • Comment on Re^3: capture output of tcpdump and PID

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972403]
help
Chatterbox?
[Eily]: I guess your about to turn 22 yourself then choroba :P
[Eily]: in 22 days
[ww]: 22 hrs and 22.22 minutes?
[choroba]: 22? Heh, that's... almost 22 years ago :-)
[Corion]: :-D

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2017-09-25 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (280 votes). Check out past polls.

    Notices?