diff options
-rw-r--r-- | devices/zmq_queue/zmq_queue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/zmq_queue/zmq_queue.cpp b/devices/zmq_queue/zmq_queue.cpp index b488029..1507ecc 100644 --- a/devices/zmq_queue/zmq_queue.cpp +++ b/devices/zmq_queue/zmq_queue.cpp @@ -52,7 +52,7 @@ int main (int argc, char *argv []) } // TODO: make the number of I/O threads configurable. - zmq::context_t ctx (1, 1); + zmq::context_t ctx (1, 1, ZMQ_POLL); zmq::socket_t in_socket (ctx, ZMQ_XREP); zmq::socket_t out_socket (ctx, ZMQ_XREQ); |