mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 19:52:00 +01:00
ZMQ_TYPE socket option added
This commit is contained in:
committed by
Martin Sustrik
parent
6715f9b185
commit
87beaaa00d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user