Permalink
Browse files

Merge pull request #294 from jdswinbank/mtserver.cpp-fix

Use zmq::proxy rather than zmq::device
  • Loading branch information...
2 parents 411f11c + c5dbee8 commit 76710f546d695d3ff2b8d91e4ec931c9b622c573 @hintjens hintjens committed Feb 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit 76710f5

Please sign in to comment.