mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-27 02:53:12 +01:00
throughput tests use P2P sockets consistently
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user