summaryrefslogtreecommitdiff
path: root/perf/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'perf/cpp')
-rw-r--r--perf/cpp/remote_thr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/cpp/remote_thr.cpp b/perf/cpp/remote_thr.cpp
index a4008df..15a4ed1 100644
--- a/perf/cpp/remote_thr.cpp
+++ b/perf/cpp/remote_thr.cpp
@@ -36,7 +36,7 @@ int main (int argc, char *argv [])
zmq::context_t ctx (1, 1);
- zmq::socket_t s (ctx, ZMQ_REQ);
+ zmq::socket_t s (ctx, ZMQ_P2P);
s.connect (connect_to);
for (int i = 0; i != message_count; i++) {