Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by MidLifeXis (Monsignor)
on Nov 14, 2008 at 22:18 UTC ( [id://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?

--MidLifeXis

  • 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found