summaryrefslogtreecommitdiff
path: root/src/pull.cpp
diff options
context:
space:
mode:
authorGonzalo Diethelm <gdiethelm@dcv.cl>2010-09-28 15:27:45 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-09-28 15:27:45 +0200
commit87beaaa00d49d216f856b8322f1ad04e4f9ecea3 (patch)
treef6feb3fd05c3691d7315636464fcf4c9a4f1afcc /src/pull.cpp
parent6715f9b1858587db6aec826bdc9a7905bba8030e (diff)
ZMQ_TYPE socket option added
Diffstat (limited to 'src/pull.cpp')
-rw-r--r--src/pull.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pull.cpp b/src/pull.cpp
index cbfcdbf..c5f6a8e 100644
--- a/src/pull.cpp
+++ b/src/pull.cpp
@@ -26,6 +26,7 @@ zmq::pull_t::pull_t (class ctx_t *parent_, uint32_t slot_) :
socket_base_t (parent_, slot_),
fq (this)
{
+ options.type = ZMQ_PULL;
options.requires_in = true;
options.requires_out = false;
}