From 50a1973ee6011a85204d96267a0786f9fcf09aaf Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Wed, 9 Oct 2013 19:52:46 +0200 Subject: [PATCH] Identity can only be set on sockets that can connect to ROUTER --- doc/zmq_getsockopt.txt | 6 +++--- doc/zmq_setsockopt.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/zmq_getsockopt.txt b/doc/zmq_getsockopt.txt index 0415c8f9..5a1c56e7 100644 --- a/doc/zmq_getsockopt.txt +++ b/doc/zmq_getsockopt.txt @@ -120,8 +120,8 @@ Default value:: 0 Applicable socket types:: N/A -ZMQ_IDENTITY: Set socket identity -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ZMQ_IDENTITY: Retrieve socket identity +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The 'ZMQ_IDENTITY' option shall retrieve the identity of the specified 'socket'. Socket identity is used only by request/reply pattern. Namely, it can be used in tandem with ROUTER socket to route messages to the peer with specific @@ -134,7 +134,7 @@ starting with binary zero are reserved for use by 0MQ infrastructure. Option value type:: binary data Option value unit:: N/A Default value:: NULL -Applicable socket types:: all +Applicable socket types:: ZMQ_REP, ZMQ_REQ, ZMQ_ROUTER, ZMQ_DEALER. ZMQ_RATE: Retrieve multicast data rate diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt index a63c0752..e53240b2 100644 --- a/doc/zmq_setsockopt.txt +++ b/doc/zmq_setsockopt.txt @@ -150,7 +150,7 @@ results shall be undefined. Option value type:: binary data Option value unit:: N/A Default value:: NULL -Applicable socket types:: all +Applicable socket types:: ZMQ_REQ, ZMQ_REP, ZMQ_ROUTER, ZMQ_DEALER. ZMQ_RATE: Set multicast data rate