summaryrefslogtreecommitdiff
path: root/src/options.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.hpp')
-rw-r--r--src/options.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/options.hpp b/src/options.hpp
index 541e6e8..6d9be4d 100644
--- a/src/options.hpp
+++ b/src/options.hpp
@@ -56,6 +56,12 @@ namespace zmq
bool requires_in;
bool requires_out;
+ // If true, when connecting, pipes are created immediately without
+ // waiting for the connection to be established. That way the socket
+ // is not aware of the peer's identity, however, it is able to send
+ // messages straight away.
+ bool immediate_connect;
+
// If true, socket requires tracerouting the messages.
bool traceroute;
};