throughput tests use P2P sockets consistently

This commit is contained in:
Martin Sustrik
2009-09-10 15:20:54 +02:00
parent 95944551be
commit 93e70ee583
5 changed files with 5 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ message_size = ARGV[1].to_i
message_count = ARGV[2].to_i
ctx = Context.new(1, 1)
s = Socket.new(ctx, SUB);
s = Socket.new(ctx, P2P);
s.bind(bind_to);
msg = s.recv(0)