[zeromq-dev] Getting started with ruby bindings

Pieter Hintjens pieterh at gmail.com
Wed Apr 21 13:33:28 CEST 2010


On Wed, Apr 21, 2010 at 1:28 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> I can imagine a small wrapper library on top of 0MQ that would intercept
> the system BSD socket API and forward the calls either to OS (in case of
> OS file descriptors) or to 0MQ (in case of 0MQ sockets).

This would effectively make 0MQ work with any language with socket
support, right?

On Windows the technique is simply to replace the default DLL with a
custom one... however that makes it hard to call the original
functions from inside the shim.  You'd have to use the win32 socket
API instead.

-Pieter



More information about the zeromq-dev mailing list