Stephen Clark 6cc63cbe65 rtemsbsd: Made TTCP command build for RTEMS
Updated ttcp.c to build clean for RTEMS 6 and the machines it
originally built for. Also fixed ttcp.c to close network
sockets after completion. Defined a shell command for TTCP in
rtems-bsd-shell-ttcp.c. Added TTCP to the list of RTEMS network
commands in netcmds-config.h. Added declaration of the TTCP shell
command to rtems-bsd-commands.h. Modified libbsd.py to make waf
build TTCP and its shell command.
2021-06-29 16:03:42 -05:00
..

TTCP is a benchmarking tool for determining TCP and UDP performance
between 2 systems.

The program was created at the US Army Ballistics Research Lab (BRL)
and is in the public domain. Feel free to distribute this program
but please do leave the credit notices in the source and man page intact.

Contents of this directory:

ttcp.c          Source that runs on IRIX 3.3.x and 4.0.x systems,
                BSD-based systems, and RTEMS.  This version also
                uses getopt(3) and has 2 new options: -f and -T.


How to get TCP performance numbers:

        receiver                                sender

host1%  ttcp -r -s                      host2% ttcp -t -s host1

-n and -l options change the number and size of the buffers.