Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2016-10-24 10:21 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (304 votes). Check out past polls.