diff options
author | Bruce A. Mah <bmah@kitchenlab.org> | 2017-05-17 12:50:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-17 12:50:50 -0700 |
commit | 9d7d60aca1c946547c88042a302a434d10d580ed (patch) | |
tree | b5868160e7f050121040d438561ff6ba1fd96e6b /src/iperf_config.h.in | |
parent | f1415a0d98bb6737329bb4091d3289d9b341bd72 (diff) | |
download | iperf3-9d7d60aca1c946547c88042a302a434d10d580ed.tar.gz |
Issue 216 (#581)
* Add configurable timeout for the setup of the control connection.
This is specified using the new --connect-timeout option, with an
integer parameter in ms. The iperf3 client will wait for this
amount of time for the setup of the control connection to the
server. If this option is not given, the OS default for TCP
connection setup is used. Specifying a smaller connection timeout
allows faster detection of a down / unresponsive iperf3 server.
The implementation uses a variation on the timeout_connect()
function from OpenBSD's netcat utility.
Fixes #216.
Diffstat (limited to 'src/iperf_config.h.in')
-rw-r--r-- | src/iperf_config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/iperf_config.h.in b/src/iperf_config.h.in index 5aebee3..bd03935 100644 --- a/src/iperf_config.h.in +++ b/src/iperf_config.h.in @@ -21,6 +21,9 @@ /* Define to 1 if you have the <netinet/sctp.h> header file. */ #undef HAVE_NETINET_SCTP_H +/* Define to 1 if you have the <poll.h> header file. */ +#undef HAVE_POLL_H + /* Define to 1 if you have the `sched_setaffinity' function. */ #undef HAVE_SCHED_SETAFFINITY |