From 18b6e6803bd0b8a11911d4adb3a0668f9630a347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Kreuzberger?= Date: Tue, 14 Apr 2015 18:30:27 +0200 Subject: [PATCH] Add documenation for ZMQ_XPUP_NODROP fix for issue #1287 --- doc/zmq_setsockopt.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt index 52ee0a82..e73d2254 100644 --- a/doc/zmq_setsockopt.txt +++ b/doc/zmq_setsockopt.txt @@ -808,6 +808,23 @@ Option value unit:: 0, 1 Default value:: 0 Applicable socket types:: ZMQ_XPUB +ZMQ_XPUB_NODROP: do not silently drop messages if SENDHWM is reached +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Sets the 'XPUB' socket behaviour to return error EAGAIN if SEND_HWM is +reached and the message could not be send. + +A value of '0' is the default and messages are dropped if SENDHWM is reached. + +A value of `0` is the default and drops the message silently when the peers +SNDHWM is reached. A value of `1` returns an 'EAGAIN' error code if the +SNDHWM is reached and ZMQ_DONTWAIT was used. + +[horizontal] +Option value type:: int +Option value unit:: 0, 1 +Default value:: 0 +Applicable socket types:: ZMQ_XPUB, ZMQ_PUB + ZMQ_WELCOME_MSG: set welcome message that will be received by subscriber when connecting ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~