diff options
author | Bruce A. Mah <bmah@es.net> | 2014-11-12 13:58:23 -0800 |
---|---|---|
committer | Bruce A. Mah <bmah@es.net> | 2014-11-12 13:58:23 -0800 |
commit | 72ac83e7f27f5956f1822382a299c0e75a65c9aa (patch) | |
tree | 8bcf0f938306cc3fd89ed54206675582531d5539 /src/iperf_locale.c | |
parent | d65986030a0f122623bae1ae197527438b7fbcd1 (diff) | |
download | iperf3-72ac83e7f27f5956f1822382a299c0e75a65c9aa.tar.gz |
Make UDP tests honor the -w option for setting the socket buffer
size.
This appears to be necessary on some long, high-bandwidth paths
to get sane results, either by reducing packet loss or by somehow
allowing the sending host of a test to go faster.
Fixes #219.
Diffstat (limited to 'src/iperf_locale.c')
-rw-r--r-- | src/iperf_locale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iperf_locale.c b/src/iperf_locale.c index 91bacc4..354906f 100644 --- a/src/iperf_locale.c +++ b/src/iperf_locale.c @@ -132,7 +132,7 @@ const char usage_longstr[] = "Usage: iperf [-s|-c host] [options]\n" " --cport <port> bind to a specific client port (TCP and UDP, 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" + " -w, --window #[KMG] set window size / socket buffer size\n" #if defined(HAVE_TCP_CONGESTION) " -C, --congestion <algo> set TCP congestion control algorithm (Linux and FreeBSD only)\n" #endif /* HAVE_TCP_CONGESTION */ |