From 9c980e17dd6f83bc01f9b4442fe90d53e9562850 Mon Sep 17 00:00:00 2001 From: shripchenko Date: Fri, 24 May 2013 07:09:53 -0700 Subject: [PATCH] changed option name. +documentation changes --- doc/zmq_setsockopt.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt index 7f8fdc93..6fa0cc75 100644 --- a/doc/zmq_setsockopt.txt +++ b/doc/zmq_setsockopt.txt @@ -421,19 +421,21 @@ Default value:: 0 Applicable socket types:: ZMQ_ROUTER -ZMQ_PROBE_NEW_PEERS: automatically send empty packet to every established connection +ZMQ_PROBE: automatically send empty packet to every established connection ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Sets the 'ROUTER' & 'DEALER' sockets behavior to automatically send an empty packet +Sets the compatible sockets behavior to automatically send an empty packet to any new connection made (or accepted) by socket. It could help sockets to -auto discovery themself. It especially important in 'ROUTER' <-> 'ROUTER' connections +auto discovery them-self. It especially important in 'ROUTER' <-> 'ROUTER' connections where it solves 'who will write first' problems. +NOTE: Don't set this options for sockets working with ZMQ_REP, ZMQ_REQ sockets. +It will interfere with their strict synchronous logic and framing. [horizontal] Option value type:: int Option value unit:: 0, 1 Default value:: 0 -Applicable socket types:: ZMQ_ROUTER, ZMQ_DEALER +Applicable socket types:: ZMQ_ROUTER, ZMQ_DEALER, ZMQ_REP, ZMQ_REQ ZMQ_XPUB_VERBOSE: provide all subscription messages on XPUB sockets