summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/zmq_socket.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/zmq_socket.txt b/doc/zmq_socket.txt
index badb9ef..91b74ea 100644
--- a/doc/zmq_socket.txt
+++ b/doc/zmq_socket.txt
@@ -225,8 +225,8 @@ Outgoing routing strategy:: Fan out
ZMQ_HWM option action:: Drop
-ZMQ_SUB
-^^^^^^^
+ZMQ_XSUB
+^^^^^^^^
Same as ZMQ_SUB except that you subscribe by sending subscription messages to
the socket. Subscription message is a byte 1 (for subscriptions) or byte 0
(for unsubscriptions) followed by the subscription body.