summaryrefslogtreecommitdiff
path: root/perf/ruby/remote_lat.rb
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-02-16 23:31:17 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-02-16 23:31:17 +0100
commit33cb20a747a2ca2c7b0487b023cfd6548ffe11e8 (patch)
treecffed00554a8416c43a1e8d9129dac165836fc3e /perf/ruby/remote_lat.rb
parent1e7878489dc5d3013b5e5858fe404ab6b4a6947a (diff)
ZMQII-77: Put librbzmq symbols into ZMQ module
Diffstat (limited to 'perf/ruby/remote_lat.rb')
-rw-r--r--perf/ruby/remote_lat.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/perf/ruby/remote_lat.rb b/perf/ruby/remote_lat.rb
index 7449aff..ea8cf8e 100644
--- a/perf/ruby/remote_lat.rb
+++ b/perf/ruby/remote_lat.rb
@@ -27,8 +27,8 @@ connect_to = ARGV[0]
message_size = ARGV[1].to_i
roundtrip_count = ARGV[2].to_i
-ctx = Context.new(1, 1, 0)
-s = Socket.new(ctx, REQ);
+ctx = ZMQ::Context.new(1, 1, 0)
+s = ZMQ::Socket.new(ctx, ZMQ::REQ);
s.connect(connect_to);
msg = "#{'0'*message_size}"