summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgthaker <gthaker@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-02-11 15:47:41 +0000
committergthaker <gthaker@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-02-11 15:47:41 +0000
commitb1c6f802e506a1964cb4679118dafbf890f6de48 (patch)
treec37adb428fb5e80ced5cdfdad106c171b86345e8
parent7d65efb9aab3c6190ce4b71c829d73048d41248e (diff)
downloadATCD-b1c6f802e506a1964cb4679118dafbf890f6de48.tar.gz
Documented -C and -i options for client programs
-rw-r--r--performance-tests/SCTP/Options_Manager.cpp5
-rw-r--r--performance-tests/SCTP/README.SCTP_PERF_TEST11
2 files changed, 16 insertions, 0 deletions
diff --git a/performance-tests/SCTP/Options_Manager.cpp b/performance-tests/SCTP/Options_Manager.cpp
index 147635c237c..d157b51a096 100644
--- a/performance-tests/SCTP/Options_Manager.cpp
+++ b/performance-tests/SCTP/Options_Manager.cpp
@@ -468,6 +468,11 @@ void Options_Manager::_show_usage(ostream& out, ACE_TCHAR const * const opts_set
out << endl;
+ out << " -C int client-port assigned by kernel" << endl;
+ out << " -i str client-connect-addr INADDR_ANY" << endl;
+
+ out << endl;
+
out << " -p int server-port 45453" << endl;
out << " -H str server-host localhost" << endl;
diff --git a/performance-tests/SCTP/README.SCTP_PERF_TEST b/performance-tests/SCTP/README.SCTP_PERF_TEST
index 07c0c4bc12b..81cacef02e0 100644
--- a/performance-tests/SCTP/README.SCTP_PERF_TEST
+++ b/performance-tests/SCTP/README.SCTP_PERF_TEST
@@ -126,6 +126,9 @@ USAGE: ./SOCK_STREAM_clt [ -<flag> [<val>] | --<name> [<val>] ]...
-x int histogram-num-outliers 100
-b int histogram-bin-count 1000
+ -C int client-port assigned by kernel
+ -i str client-connect-addr INADDR_ANY
+
-p int server-port 45453
-H str server-host localhost
@@ -184,6 +187,14 @@ SOCK_SEQPACK_clt.
(histogram-max-bin - histogram-min-bin) / histogram-bin-count
+ client-port [ -C int ]
+ client-connect-addr [ -i string ]
+
+ the port and network address where the client's data-mode
+ socket is to be bound. By default, the port number is
+ assigned by the kernel, and the socket is bound to all network
+ interfaces.
+
server-port [ -p int ]
server-host [ -H string ]