summaryrefslogtreecommitdiff
path: root/perf/cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-09-10 15:20:54 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-09-10 15:20:54 +0200
commit93e70ee583489034c9f3b92fb87b374707afd5d5 (patch)
treeca95d3ca3eb8f2b2d6208d0a2f4d1046fce0b8d0 /perf/cpp
parent95944551be93665fe4dcadbe00168da553b7d82f (diff)
throughput tests use P2P sockets consistently
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++) {