http://qs321.pair.com?node_id=781200


in reply to Perl - Socket and Data Compression

There's netcat, and I hear there are other, possibly better alternatives.

tar czf - <directory> | nc <hostname> <port>

You can mix in pipeview to monitor your progress.

tar czf - <directory> | pv | netcat <hostname> <port>