Skip to content

Commit

Permalink
update pair doc (#3170)
Browse files Browse the repository at this point in the history
* update pair doc
  • Loading branch information
jamesdillonharvey authored and bluca committed Jun 21, 2018
1 parent 85dfca3 commit edec224
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/zmq_socket.txt
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,11 @@ high water mark for the connected peer, or if no peer is connected, then
any linkzmq:zmq_send[3] operations on the socket shall block until the peer
becomes available for sending; messages are not discarded.

While 'ZMQ_PAIR' sockets can be used over transports other than linkzmq:zmq_inproc[7],
their inability to auto-reconnect coupled with the fact new incoming connections will
be terminated while any previous connections (including ones in a closing state)
exist makes them unsuitable for TCP in most cases.

NOTE: 'ZMQ_PAIR' sockets are designed for inter-thread communication across
the linkzmq:zmq_inproc[7] transport and do not implement functionality such
as auto-reconnection.
Expand Down

0 comments on commit edec224

Please sign in to comment.