tcpspray sends data to either the discard or echo TCP service on the specified host and prints the average throughput.
This option is useful in determining the relationship of the data transferred to throughput. E.g., if data compression is used on any of the intermediate links comprising the TCP connection, preloading the buffer with a text file will produce greater throughput than with a file that has already been compressed.