summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-02-19 15:24:43 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-02-19 15:24:43 +0100
commit75f571c8844231f4172f131e1dd6ba2348eb54e5 (patch)
tree035106d6f65e69613a16470f9188d3aabab51179 /doc
parentb9caa319e279cd8cd367e0a64308b9e80c4ead3d (diff)
Multi-hop REQ/REP, part XII., generate unique identities for anonymous connections
Diffstat (limited to 'doc')
-rw-r--r--doc/zmq_setsockopt.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt
index 549a2de..629bffc 100644
--- a/doc/zmq_setsockopt.txt
+++ b/doc/zmq_setsockopt.txt
@@ -60,9 +60,11 @@ If the socket has no identity, each run of the application is completely
separated from other runs. However, with identity application reconnects to
existing infrastructure left by the previous run. Thus it may receive
messages that were sent in the meantime, it shares pipe limits with the
-previous run etc.
+previous run etc. Identity should be at least one byte and at most 255 bytes
+long. Identities starting with binary zero are reserver for use by 0MQ
+infrastructure.
+
-Type: string Unit: N/A Default: NULL
+Type: BLOB Unit: N/A Default: NULL
*ZMQ_SUBSCRIBE*::
Applicable only to ZMQ_SUB socket type. It establishes new message filter.
@@ -72,7 +74,7 @@ beginning with specific prefix (e.g. "animals.mammals.dogs."). Multiple
filters can be attached to a single 'sub' socket. In that case message passes
if it matches at least one of the filters.
+
-Type: string Unit: N/A Default: N/A
+Type: BLOB Unit: N/A Default: N/A
*ZMQ_UNSUBSCRIBE*::
Applicable only to ZMQ_SUB socket type. Removes existing message filter.
@@ -81,7 +83,7 @@ exactly. If there were several instances of the same filter created,
this options removes only one of them, leaving the rest in place
and functional.
+
-Type: string Unit: N/A Default: N/A
+Type: BLOB Unit: N/A Default: N/A
*ZMQ_RATE*::
This option applies only to sending side of multicast transports (pgm & udp).