Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a798481e00
13 lines (10 sloc) 0.227 kb
#!/usr/bin/env ruby
require 'ffi-rzmq'
p context = ZMQ::Context.new
p socket = context.socket(ZMQ::PULL)
p socket.bind(ENV.fetch("ZMQ_BIND_URI"))
loop do
s = []
p socket.recv_strings(s)
puts "strings: #{s.inspect}"
end
Jump to Line
Something went wrong with that request. Please try again.