mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-03 19:40:39 +01:00
minor documentation patch
This commit is contained in:
@@ -18,15 +18,15 @@ mark cannot be exceeded. If the messages don't fit into the pipe emergency
|
|||||||
mechanisms of the particular socket type are used (block, drop etc.) If HWM
|
mechanisms of the particular socket type are used (block, drop etc.) If HWM
|
||||||
is set to zero, there are no limits for the content of the pipe.
|
is set to zero, there are no limits for the content of the pipe.
|
||||||
|
|
||||||
Type: int64_t Unit: bytes Default: 0
|
Type: int64_t Unit: messages Default: 0
|
||||||
|
|
||||||
.IP "\fBZMQ_LWM\fP"
|
.IP "\fBZMQ_LWM\fP"
|
||||||
Low watermark makes sense only if high watermark is defined (i.e. is non-zero).
|
Low watermark makes sense only if high watermark is defined (i.e. is non-zero).
|
||||||
When the emergency state is reached when messages overflow the pipe, the
|
When the emergency state is reached when messages overflow the pipe, the
|
||||||
emergency lasts till the size of the pipe decreases to low watermark.
|
emergency lasts at most till the size of the pipe decreases to low watermark.
|
||||||
At that point normal state is resumed.
|
Normal state is resumed at that point.
|
||||||
|
|
||||||
Type: int64_t Unit: bytes Default: 0
|
Type: int64_t Unit: messages Default: 0
|
||||||
|
|
||||||
.IP "\fBZMQ_SWAP\fP"
|
.IP "\fBZMQ_SWAP\fP"
|
||||||
Swap allows the pipe to exceed high watermark. However, the data are written
|
Swap allows the pipe to exceed high watermark. However, the data are written
|
||||||
@@ -126,7 +126,7 @@ to the appropriate value.
|
|||||||
unknown option, a value with incorrect length or invalid value.
|
unknown option, a value with incorrect length or invalid value.
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
.nf
|
.nf
|
||||||
int rc = zmq_setsockopt (s, ZMQ_SUBSCRIBE, "*", 1);
|
int rc = zmq_setsockopt (s, ZMQ_SUBSCRIBE, "", 0);
|
||||||
assert (rc == 0);
|
assert (rc == 0);
|
||||||
.fi
|
.fi
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
|
|||||||
Reference in New Issue
Block a user