Skip to content

Commit

Permalink
Add documenation for ZMQ_XPUP_NODROP
Browse files Browse the repository at this point in the history
fix for issue zeromq#1287
  • Loading branch information
kreuzberger committed Apr 14, 2015
1 parent 6b4d9bc commit 18b6e68
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/zmq_setsockopt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 18b6e68

Please sign in to comment.