diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt index 4ace7910..1d48f3f8 100644 --- a/doc/zmq_setsockopt.txt +++ b/doc/zmq_setsockopt.txt @@ -725,7 +725,7 @@ message when a peer connects or disconnects. [horizontal] Option value type:: int Option value unit:: 0, 1 -Default value:: 0 +Default value:: 1 Applicable socket types:: ZMQ_STREAM diff --git a/src/options.cpp b/src/options.cpp index da86c3fb..6d4d000d 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -58,7 +58,7 @@ zmq::options_t::options_t () : invert_matching(false), recv_identity (false), raw_socket (false), - raw_notify (false), + raw_notify (true), tcp_keepalive (-1), tcp_keepalive_cnt (-1), tcp_keepalive_idle (-1),