summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-03-24 14:01:11 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-03-24 14:01:11 +0000
commitde34d7b998edf3b82e2ac7ac7d756eb9026ca586 (patch)
tree459fe0b9738d65c0bd2ff4c47402160948b0d8bb
parentChanged version to 4.5.0-beta1b. (diff)
downloadnetwork-demos-de34d7b998edf3b82e2ac7ac7d756eb9026ca586.tar.bz2
Added instructions on running ttcp from Eric Norum <eric@cls.usask.ca>.
-rw-r--r--ttcp/README24
1 files changed, 24 insertions, 0 deletions
diff --git a/ttcp/README b/ttcp/README
index fd5afbb..8bfe340 100644
--- a/ttcp/README
+++ b/ttcp/README
@@ -2,6 +2,8 @@
# $Id$
#
+Background
+==========
This directory contains an RTEMS application for measuring TCP/UDP
network throughput. The ttcp_orig subdirectory contains the original
UNIX program which can be compiled and run on your host machine.
@@ -10,3 +12,25 @@ One noteworthy item is that I was able to get the UNIX test program
running under RTEMS with no changes to the test program itself. The
entire UNIX source file is included, without changes, into the RTEMS
source file.
+
+Running TTCP
+============
+To test throughput from Host to RTEMS target:
+
+1) Download and start the ttcp program on the Target.
+2) In response to the `ttcp' prompt, type `-s -r'. The meaning of these
+flags is described in the ttcp.1 documentation.
+3) On the host run `ttcp -s -t <<insert the hostname or IP address of
+the Target here>>'
+
+To test throughput from Target to Host:
+
+1) On the host run `ttcp -s -r'
+2) Download and start the ttcp program on the Target.
+3) In response to the `ttcp' prompt, type `-s -t <<insert the hostname
+or IP address of the Host here>>'. You need to type the IP address of
+the host unless you've got your Target talking to your Domain Name
+Server.
+
+To change the number of buffers, the buffer size, etc. you just add the
+extra flags to the `-t' machine as specified in the ttcp.1 manual page.