Just another Perl shrine | |
PerlMonks |
Re^3: Sniffing a telnet session into a file ...by zentara (Archbishop) |
on Oct 11, 2012 at 12:04 UTC ( [id://998421]=note: print w/replies, xml ) | Need Help?? |
I don't know what oww is exactly, a c program? If my assumption is correct, oww reads the 1w net and reports it out on port 8891. Maybe you should see if oww has options to just print out to STDOUT instead of port 8891, if so you could run it with
some Perl IPC, like a piped open or Open3, then let Perl send it out on a regular socket connection.
It may also be a McGiver hack, but you could have another Perl script on the oww machine to read port 8891, and relay it out a normal socket. Can you get the source code to oww? You could hack it to wtite to STDOUT. I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh
In Section
Seekers of Perl Wisdom
|
|