diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-04-16 07:47:00 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-04-17 07:34:37 +0200 |
commit | dc4ed5a7b59f1d5b4e4f7fb4b6e29ecaf5e6cc5c (patch) | |
tree | 29987586f7012a31c187de491edc99aea174473b /include | |
parent | 443d06f894751062da6d69238ce09f6fbfc27577 (diff) |
XS_SURVEY_TIMEOUT socket option added.
It can be used to timeout the survey. Value is in milliseconds
and -1 means infinite (default).
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/xs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xs.h b/include/xs.h index 34d6c60..16e479d 100644 --- a/include/xs.h +++ b/include/xs.h @@ -207,6 +207,7 @@ XS_EXPORT int xs_setctxopt (void *context, int option, const void *optval, #define XS_IPV4ONLY 31 #define XS_KEEPALIVE 32 #define XS_PROTOCOL 33 +#define XS_SURVEY_TIMEOUT 35 /* Message options */ #define XS_MORE 1 |