ZMQ_TYPE socket option added

This commit is contained in:
Gonzalo Diethelm
2010-09-28 15:27:45 +02:00
committed by Martin Sustrik
parent 6715f9b185
commit 87beaaa00d
14 changed files with 37 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ zmq::sub_t::sub_t (class ctx_t *parent_, uint32_t slot_) :
has_message (false),
more (false)
{
options.type = ZMQ_SUB;
options.requires_in = true;
options.requires_out = false;
zmq_msg_init (&message);