[zeromq-dev] Ruby version of lpclient (Guide chapter 4)

Han Holl han.holl at pobox.com
Wed Mar 9 22:05:21 CET 2011


Hi there,

Attached is a Ruby version of the lazy pirate client program.

It stays as close to the original C program as is possible without writing 
silly Ruby. It's also quite a bit more re-usible.
Nevertheless, feel free to modify wat you want if you think it helps clarity.

I hereby state that I license my code under the MIT/X11 license.

Han Holl

PS I don't know if attaching it the right thing to do. I can of course easily 
paste it in an e-mail, it that's better.

PPS Would it be an idea to put sample servers on www.zeromq.org so translators 
of client code can test their programs against a known implementation ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lazypirate.rb
Type: application/x-ruby
Size: 1011 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110309/2b6d9a2b/attachment.rb>


More information about the zeromq-dev mailing list