summaryrefslogtreecommitdiff
path: root/src/options.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-02-14 13:34:48 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-02-14 13:34:48 +0100
commit43620b3d35e3f3a6e49046fdc0426651bf58dedb (patch)
tree144d680f6dec4c0773133a42900eb6acaf95282e /src/options.hpp
parent4405250d93a2ad6eb3940c4bc4fe8ea32bd52f9e (diff)
Multi-hop REQ/REP, part X., optional delayed creation of pipes during connect
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;
};