summaryrefslogtreecommitdiff
path: root/src/xrep.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-02-12 13:33:50 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-02-12 13:33:50 +0100
commit7b4cf2a4d040057f6f378cac2cd125513a859c1b (patch)
treee12f156f2e434103078e2ebc2f842b188120ffde /src/xrep.cpp
parentcd7300fd4f25754f844b17a77685ec837ebecbbb (diff)
Multi-hop REQ/REP, part I., socket type is known to all associated objects
Diffstat (limited to 'src/xrep.cpp')
-rw-r--r--src/xrep.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xrep.cpp b/src/xrep.cpp
index 4cba21c..67a9a39 100644
--- a/src/xrep.cpp
+++ b/src/xrep.cpp
@@ -25,6 +25,7 @@
zmq::xrep_t::xrep_t (class app_thread_t *parent_) :
socket_base_t (parent_)
{
+ options.type = ZMQ_XREP;
options.requires_in = true;
options.requires_out = true;
}