netcat(nc) —— 使用小结
Netcat is a featured networking utility which reads and writes data across network connections, using the TCP/IP protocol.
It is designed to be a reliable “back-end” tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.
nc -l 6666 < file
nc host 6666 | pv -L 30m > wrapper
tar zcvf folder.tar.gz folder | nc -l 6666