= rb_zmq
* http://www.zeromq.org
== DESCRIPTION:
This gem comprises the ruby bindings for ZeroMQ
== FEATURES/PROBLEMS:
* Posix signal handling is a bit goofy, so things like handling SIGTERM (ctrl-c) at the console have to be done by hand.
== SYNOPSIS:
bind_to = 'tcp://127.0.0.1:5555'
message_size = 1
roundtrip_count = 100
ctx = Context.new(1, 1, 0)
s = Socket.new(ctx, REP);
s.bind(bind_to);
for i in 0...roundtrip_count do
msg = s.recv(0)
s.send(msg, 0)
end
sleep 1
== REQUIREMENTS:
* The libzmq must be installed & loadable
== INSTALL:
* gem install rb-zmq
== LICENSE:
This software is licensed under the same terms as ZeroMQ itself.
* http://www.zeromq.org
== DESCRIPTION:
This gem comprises the ruby bindings for ZeroMQ
== FEATURES/PROBLEMS:
* Posix signal handling is a bit goofy, so things like handling SIGTERM (ctrl-c) at the console have to be done by hand.
== SYNOPSIS:
bind_to = 'tcp://127.0.0.1:5555'
message_size = 1
roundtrip_count = 100
ctx = Context.new(1, 1, 0)
s = Socket.new(ctx, REP);
s.bind(bind_to);
for i in 0...roundtrip_count do
msg = s.recv(0)
s.send(msg, 0)
end
sleep 1
== REQUIREMENTS:
* The libzmq must be installed & loadable
== INSTALL:
* gem install rb-zmq
== LICENSE:
This software is licensed under the same terms as ZeroMQ itself.