Commit 50a1973e authored by Pieter Hintjens's avatar Pieter Hintjens

Identity can only be set on sockets that can connect to ROUTER

parent cc228255
...@@ -120,8 +120,8 @@ Default value:: 0 ...@@ -120,8 +120,8 @@ Default value:: 0
Applicable socket types:: N/A 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'. 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 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 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. ...@@ -134,7 +134,7 @@ starting with binary zero are reserved for use by 0MQ infrastructure.
Option value type:: binary data Option value type:: binary data
Option value unit:: N/A Option value unit:: N/A
Default value:: NULL Default value:: NULL
Applicable socket types:: all Applicable socket types:: ZMQ_REP, ZMQ_REQ, ZMQ_ROUTER, ZMQ_DEALER.
ZMQ_RATE: Retrieve multicast data rate ZMQ_RATE: Retrieve multicast data rate
......
...@@ -150,7 +150,7 @@ results shall be undefined. ...@@ -150,7 +150,7 @@ results shall be undefined.
Option value type:: binary data Option value type:: binary data
Option value unit:: N/A Option value unit:: N/A
Default value:: NULL Default value:: NULL
Applicable socket types:: all Applicable socket types:: ZMQ_REQ, ZMQ_REP, ZMQ_ROUTER, ZMQ_DEALER.
ZMQ_RATE: Set multicast data rate ZMQ_RATE: Set multicast data rate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment