Jonathan S. Polacheck (Wed 03/25/09 14:56):
> 
> I am trying to concoct and script that will take a binary data stream from
> tcpdump, feed it into a filter,  then in another instance of wheel::run,
> hexdump the data stream from the filter.  The code I have come up with so
> far is in the 6th entry in the "Continuous packet capture" thread.  I
> cannot seem to find an example that explains how this is done.  The first
> example I looked at (http://poe.perl.org/?POE_Cookbook/Child_Processes_3)
> seems to generate it's input internally.  I have looked at the perldocs for
> Wheel::Run and the Filter pages as well as the POE chapter from "Advanced
> Perl Programming".  Can anyone point me at another example or explain how
> Filters are referenced for input and output?

Try the Child Process 2 example substituting your tcpdump command for
ls in Program. Works fine here.  You'll at least have a working example
from which you can then modify.

Zach

Reply via email to