in reply to
Re^2: Sniffing a telnet session into a file ...
in thread Sniffing a telnet session into a file ...
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.