From 9d7d60aca1c946547c88042a302a434d10d580ed Mon Sep 17 00:00:00 2001 From: "Bruce A. Mah" Date: Wed, 17 May 2017 12:50:50 -0700 Subject: 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. --- src/iperf_config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/iperf_config.h.in') 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 header file. */ #undef HAVE_NETINET_SCTP_H +/* Define to 1 if you have the header file. */ +#undef HAVE_POLL_H + /* Define to 1 if you have the `sched_setaffinity' function. */ #undef HAVE_SCHED_SETAFFINITY -- cgit v1.2.3