aboutsummaryrefslogtreecommitdiff
path: root/src/iperf_locale.c
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@es.net>2014-09-15 12:58:01 -0700
committerBruce A. Mah <bmah@es.net>2014-09-15 12:58:01 -0700
commit785c8a42c91d01f88aa6ebbdd3838dd5218afe6a (patch)
tree3dd17be9f289178ac2d06a06ae217af195c2bbe0 /src/iperf_locale.c
parentfbd89512afc26f6e0d9cd72bc5cbeb05f292432d (diff)
parent023fb45e7a945ccc905b4c7afc20ba2b68cf197b (diff)
downloadiperf3-785c8a42c91d01f88aa6ebbdd3838dd5218afe6a.tar.gz
Merge branch 'master' of github.com:kevinconstantine/iperf into kevinconstantine-master
Diffstat (limited to 'src/iperf_locale.c')
-rw-r--r--src/iperf_locale.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/iperf_locale.c b/src/iperf_locale.c
index 9e4c647..ab32772 100644
--- a/src/iperf_locale.c
+++ b/src/iperf_locale.c
@@ -108,6 +108,7 @@ const char usage_longstr[] = "Usage: iperf [-s|-c host] [options]\n"
" -k, --blockcount #[KMG] number of blocks (packets) to transmit (instead of -t or -n)\n"
" -l, --len #[KMG] length of buffer to read or write\n"
" (default %d KB for TCP, %d KB for UDP)\n"
+ " --cport <port> bind to a specific client port (default: ephemeral port)\n"
" -P, --parallel # number of parallel client streams to run\n"
" -R, --reverse run in reverse mode (server sends, client receives)\n"
" -w, --window #[KMG] TCP window size (socket buffer size)\n"
@@ -171,6 +172,9 @@ const char client_port[] =
const char bind_address[] =
"Binding to local address %s\n";
+const char bind_port[] =
+"Binding to local port %s\n";
+
const char multicast_ttl[] =
"Setting multicast TTL to %d\n";