From 93e70ee583489034c9f3b92fb87b374707afd5d5 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 10 Sep 2009 15:20:54 +0200 Subject: throughput tests use P2P sockets consistently --- perf/cpp/remote_thr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perf/cpp/remote_thr.cpp') 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++) { -- cgit v1.2.3