From 50a8b9ea0c4a819073b46449dee8fc839b837ae5 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 20 Sep 2009 10:14:21 +0200 Subject: 'flags' parameter added to zmq_init --- perf/ruby/local_lat.rb | 2 +- perf/ruby/local_thr.rb | 2 +- perf/ruby/remote_lat.rb | 2 +- perf/ruby/remote_thr.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'perf/ruby') diff --git a/perf/ruby/local_lat.rb b/perf/ruby/local_lat.rb index b71af80..8806ccb 100644 --- a/perf/ruby/local_lat.rb +++ b/perf/ruby/local_lat.rb @@ -27,7 +27,7 @@ bind_to = ARGV[0] message_size = ARGV[1].to_i roundtrip_count = ARGV[2].to_i -ctx = Context.new(1, 1) +ctx = Context.new(1, 1, 0) s = Socket.new(ctx, REP); s.bind(bind_to); diff --git a/perf/ruby/local_thr.rb b/perf/ruby/local_thr.rb index b916f2d..6d9d13f 100644 --- a/perf/ruby/local_thr.rb +++ b/perf/ruby/local_thr.rb @@ -27,7 +27,7 @@ bind_to = ARGV[0] message_size = ARGV[1].to_i message_count = ARGV[2].to_i -ctx = Context.new(1, 1) +ctx = Context.new(1, 1, 0) s = Socket.new(ctx, SUB); s.setsockopt(SUBSCRIBE, "*"); diff --git a/perf/ruby/remote_lat.rb b/perf/ruby/remote_lat.rb index 9387fe1..f5b438d 100644 --- a/perf/ruby/remote_lat.rb +++ b/perf/ruby/remote_lat.rb @@ -27,7 +27,7 @@ connect_to = ARGV[0] message_size = ARGV[1].to_i roundtrip_count = ARGV[2].to_i -ctx = Context.new(1, 1) +ctx = Context.new(1, 1, 0) s = Socket.new(ctx, REQ); s.connect(connect_to); diff --git a/perf/ruby/remote_thr.rb b/perf/ruby/remote_thr.rb index ef93961..760ff88 100644 --- a/perf/ruby/remote_thr.rb +++ b/perf/ruby/remote_thr.rb @@ -27,7 +27,7 @@ connect_to = ARGV[0] message_size = ARGV[1].to_i message_count = ARGV[2].to_i -ctx = Context.new(1, 1) +ctx = Context.new(1, 1, 0) s = Socket.new(ctx, PUB); # Add your socket options here. -- cgit v1.2.3