diff options
author | Thijs Terlouw <thijsterlouw@gmail.com> | 2011-01-26 07:01:06 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-01-26 07:01:06 +0100 |
commit | f7f1dfc86dd649edbd789a5d157d74721338c912 (patch) | |
tree | 4189c915385050b759eb2a2890adcba25885a476 /include/zmq.h | |
parent | 8e61a11b398c95d829f24c388737eb122405c97b (diff) |
ZMQ_RECONNECT_IVL_MAX socket option added
It allows for exponential back-off strategy when reconnecting.
Signed-off-by: Thijs Terlouw <thijsterlouw@gmail.com>
Diffstat (limited to 'include/zmq.h')
-rw-r--r-- | include/zmq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/zmq.h b/include/zmq.h index 74b8987..e56b5ed 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -203,7 +203,8 @@ ZMQ_EXPORT int zmq_term (void *context); #define ZMQ_RECONNECT_IVL 18 #define ZMQ_BACKLOG 19 #define ZMQ_RECOVERY_IVL_MSEC 20 /* opt. recovery time, reconcile in 3.x */ - +#define ZMQ_RECONNECT_IVL_MAX 21 + /* Send/recv options. */ #define ZMQ_NOBLOCK 1 #define ZMQ_SNDMORE 2 |