Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a798481e00
Fetching contributors…

Cannot retrieve contributors at this time

file 6 lines (5 sloc) 0.173 kb
1 2 3 4 5 6
require 'ffi-rzmq'

p context = ZMQ::Context.new
p socket = context.socket(ZMQ::PUSH)
p socket.connect(ENV.fetch("ZMQ_CONNECT_URI"))
p socket.send_strings(["hello", *ARGV])
Something went wrong with that request. Please try again.