mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-19 11:47:50 +08:00

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.
22 lines
744 B
Plaintext
22 lines
744 B
Plaintext
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.
|