Skip to content

Commit

Permalink
Identity can only be set on sockets that can connect to ROUTER
Browse files Browse the repository at this point in the history
  • Loading branch information
hintjens committed Oct 11, 2013
1 parent 622e3b5 commit a32c02a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/zmq_getsockopt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/zmq_setsockopt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a32c02a

Please sign in to comment.