Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Use zmq::proxy rather than zmq::device #294

merged 1 commit into from

2 participants


With the current version of cppzmq, mtserver.cpp fails to build:

mtserver.cpp: In function 'int main()':
mtserver.cpp:52:5: error: 'device' is not a member of 'zmq'

The solution is to use zmq::proxy instead. Note that this requires a recent version of cppzmq (at least zeromq/cppzmq@34dd3a1).

@hintjens hintjens merged commit 76710f5 into imatix:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 16, 2013
  1. @jdswinbank
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/C++/mtserver.cpp
2  examples/C++/mtserver.cpp
@@ -49,7 +49,7 @@ int main ()
pthread_create (&worker, NULL, worker_routine, (void *) &context);
// Connect work threads to client threads via a queue
- zmq::device (ZMQ_QUEUE, clients, workers);
+ zmq::proxy (clients, workers, NULL);
return 0;
Something went wrong with that request. Please try again.