Skip to content

Commit

Permalink
Merge pull request #115 from hintjens/master
Browse files Browse the repository at this point in the history
Man page fixes
  • Loading branch information
hintjens committed Feb 13, 2014
2 parents 0a703a4 + c7c5228 commit 6077e52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion doc/zmq_ctx_get.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ZMQ_IO_THREADS: Get number of I/O threads
The 'ZMQ_IO_THREADS' argument returns the size of the 0MQ thread pool
for this context.

ZMQ_MAX_SOCKETS: Set maximum number of sockets
ZMQ_MAX_SOCKETS: Get maximum number of sockets
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The 'ZMQ_MAX_SOCKETS' argument returns the maximum number of sockets
allowed for this context.
Expand Down
17 changes: 7 additions & 10 deletions doc/zmq_setsockopt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,22 +129,19 @@ Applicable socket types:: ZMQ_SUB

ZMQ_IDENTITY: Set socket identity
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The 'ZMQ_IDENTITY' option shall set 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
identity.
The 'ZMQ_IDENTITY' option shall set the identity of the specified 'socket'
when connecting to a ROUTER socket. The identity should be from 1 to 255
bytes long and MAY NOT start with binary zero.

Identity should be at least one byte and at most 255 bytes long. Identities
starting with binary zero are reserved for use by 0MQ infrastructure.

If two peers use the same identity when connecting to a third peer, the
results shall be undefined.
If two clients use the same identity when connecting to a ROUTER, the
ROUTER socket shall accept only the first such client and reject the
others.

[horizontal]
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 6077e52

Please sign in to comment.