summaryrefslogtreecommitdiff
path: root/src/pub.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/pub.cpp
parent6715f9b1858587db6aec826bdc9a7905bba8030e (diff)
ZMQ_TYPE socket option added
Diffstat (limited to 'src/pub.cpp')
-rw-r--r--src/pub.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pub.cpp b/src/pub.cpp
index 6edd991..b1a1239 100644
--- a/src/pub.cpp
+++ b/src/pub.cpp
@@ -29,6 +29,7 @@ zmq::pub_t::pub_t (class ctx_t *parent_, uint32_t slot_) :
active (0),
terminating (false)
{
+ options.type = ZMQ_PUB;
options.requires_in = false;
options.requires_out = true;
}