diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-02-12 13:33:50 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-02-12 13:33:50 +0100 |
commit | 7b4cf2a4d040057f6f378cac2cd125513a859c1b (patch) | |
tree | e12f156f2e434103078e2ebc2f842b188120ffde /src/pub.cpp | |
parent | cd7300fd4f25754f844b17a77685ec837ebecbbb (diff) |
Multi-hop REQ/REP, part I., socket type is known to all associated objects
Diffstat (limited to 'src/pub.cpp')
-rw-r--r-- | src/pub.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pub.cpp b/src/pub.cpp index 05bfdcf..9a2dcc6 100644 --- a/src/pub.cpp +++ b/src/pub.cpp @@ -27,6 +27,7 @@ zmq::pub_t::pub_t (class app_thread_t *parent_) : socket_base_t (parent_) { + options.type = ZMQ_PUB; options.requires_in = false; options.requires_out = true; } |