Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Real time reading of multiple pcap 'instances' at once

by MidLifeXis (Monsignor)
on Nov 14, 2008 at 22:18 UTC ( #723736=note: print w/replies, xml ) Need Help??

in reply to Real time reading of multiple pcap 'instances' at once

Perhaps select might be what you are looking for?


  • Comment on Re: Real time reading of multiple pcap 'instances' at once

Replies are listed 'Best First'.
Re^2: Real time reading of multiple pcap 'instances' at once
by JPaul (Hermit) on Nov 14, 2008 at 22:32 UTC
    For some odd reason I was simply -unable- to get select() to work properly on filehandles that encapsulated a process. select() was actually my first port of call, and after spending several hours without luck, I switched to the method outlined above.
    Unfortunately it's been a few weeks since I tried the select() method, so I do not recall the specifics - I've used it a thousand times with TCP sockets, so it's not like I've never used it before... I'm sorry, I just can't remember why it didn't work properly. I'll see if I can dig up the source code to remind myself!

    Thank you, however.

    -- Alexander Widdlemouse undid his bellybutton and his bum dropped off --

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2023-10-02 20:55 GMT
Find Nodes?
    Voting Booth?

    No recent polls found