diff options
Diffstat (limited to 'devices')
-rw-r--r-- | devices/zmq_streamer/zmq_streamer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devices/zmq_streamer/zmq_streamer.cpp b/devices/zmq_streamer/zmq_streamer.cpp index ca7c21b..951115c 100644 --- a/devices/zmq_streamer/zmq_streamer.cpp +++ b/devices/zmq_streamer/zmq_streamer.cpp @@ -54,8 +54,8 @@ int main (int argc, char *argv []) // TODO: make the number of I/O threads configurable. zmq::context_t ctx (1); - zmq::socket_t in_socket (ctx, ZMQ_UPSTREAM); - zmq::socket_t out_socket (ctx, ZMQ_DOWNSTREAM); + zmq::socket_t in_socket (ctx, ZMQ_PULL); + zmq::socket_t out_socket (ctx, ZMQ_PUSH); int n = 0; while (true) { |