instead of having the client print to stdout, just print it to the socket$ perl -e'open F,"for f in a b c; do date; sleep 1; done |" or die $!; + while (<F>){ print } close F;' Wed Oct 13 08:01:27 PDT 2004 Wed Oct 13 08:01:28 PDT 2004 Wed Oct 13 08:01:29 PDT 2004 $
perl -e"\$_=qq/nwdd\x7F^n\x7Flm{{llql0}qs\x14/;s/./chr(ord$&^30)/ge;print"
In reply to Re: streaming output to a socket
by pizza_milkshake
in thread streaming output to a socket
by Scarborough
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |