[comp.protocols.tcp-ip] ttcp.c source from the source.

tcs@BRL.MIL (Terry Slattery, SECAD) (09/06/89)

The source for ttcp.c, which has been asked about recently, can be obtained
from vgr.brl.mil:~ftp/pub/ttcp.c via anonymous FTP.  This is the original
unaltered version.  Note that some vendors take the liberty of modifying the
port number and flags, so if you encounter interoperability problems with
ttcp on other systems, check the options and port numbers.

At BRL, we use ttcp for more than network throughput testing.  It is
useful for moving directory hierarchies between machines where other
means would be more cumbersome:

	Dest machine:	ttcp -r -B | tar x
	Src machine:	tar cf - . | ttcp -t dest_machine

Network routing problems can often be avoided by extending this pipe to other
intermediate hosts.

	-tcs