diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-10 15:20:54 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-10 15:20:54 +0200 |
commit | 93e70ee583489034c9f3b92fb87b374707afd5d5 (patch) | |
tree | ca95d3ca3eb8f2b2d6208d0a2f4d1046fce0b8d0 /perf/cpp | |
parent | 95944551be93665fe4dcadbe00168da553b7d82f (diff) |
throughput tests use P2P sockets consistently
Diffstat (limited to 'perf/cpp')
-rw-r--r-- | perf/cpp/remote_thr.cpp | 2 |
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++) { |