mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Update doc for ZMQ_CONFLATE socket option
This commit is contained in:
parent
daa7a8021f
commit
f59c1a5c5a
@ -682,6 +682,22 @@ Default value:: NULL
|
|||||||
Applicable socket types:: all, when using TCP transport
|
Applicable socket types:: all, when using TCP transport
|
||||||
|
|
||||||
|
|
||||||
|
ZMQ_CONFLATE: Keep only last message
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
If set, a socket shall keep only one message in its inbound/outbound
|
||||||
|
queue, this message being the last message received/the last message
|
||||||
|
to be sent.
|
||||||
|
Ignores 'ZMQ_RECVHWM' and 'ZMQ_SENDHWM' options.
|
||||||
|
Does not supports multi-part messages, in particular, only one part of it
|
||||||
|
is kept in the socket internal queue.
|
||||||
|
[horizontal]
|
||||||
|
Option value type:: int
|
||||||
|
Option value unit:: boolean
|
||||||
|
Default value:: 0 (false)
|
||||||
|
Applicable socket types:: ZMQ_PULL, ZMQ_PUSH, ZMQ_SUB, ZMQ_PUB, ZMQ_DEALER
|
||||||
|
|
||||||
|
|
||||||
RETURN VALUE
|
RETURN VALUE
|
||||||
------------
|
------------
|
||||||
The _zmq_setsockopt()_ function shall return zero if successful. Otherwise it
|
The _zmq_setsockopt()_ function shall return zero if successful. Otherwise it
|
||||||
|
Loading…
Reference in New Issue
Block a user