[zeromq-dev] CZMQ & Windows compatibility

Luca Boccassi luca.boccassi at gmail.com
Sat Oct 14 19:52:19 CEST 2017


On Sat, 2017-10-14 at 15:38 +0000, Stephen Gray wrote:
> So I got all excited to have CZMQ building on Windows; then I tried
> the example https://github.com/zeromq/czmq/blob/master/examples/secur
> ity/ironhouse2.c and was met with blank silence, no "Ironhouse test
> OK", just silence.....
> 
> So trying to work out the problem I read http://czmq.zeromq.org/czmq4
> -0:zactor which says;  "A CZMQ actor is implemented as a thread plus
> a PAIR-PAIR pipe."
> 
> Now, from memory I recall that inter-process communication doesn't
> work on Windows, so consequently zactor won't work properly with its
> PAIR-PAIR pipe.  Am I right?
> 
> To use CZMQ for my project it is vital to have CZMQ fully operational
> on Windows and Linux, otherwise I will have to drop the idea of CZMQ
> and build my own higher level abstractions; which would be a real
> shame and lots of work.
> 
> Is there any possibility of introducing alternative transport
> mechanism options into zactor (and anywhere else necessary in CZMQ).
> E.g. TCP over the local loopback connection instead of PAIR-PAIR.  It 
> might offer Windows users a plausible workaround?
> 
> I'm willing to help but don't have a full knowledge or expertise with
> CZMQ; in fact I'm just a user who has lost another Saturday afternoon
> to technical challenges.

Hi,

inproc:// works just fine on Windows. You can see the output from the
CI test runs on Appveyor:

https://ci.appveyor.com/project/zeromq/czmq/build/job/0yw4ap39hr5qva2u

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20171014/9c35780a/attachment.sig>


More information about the zeromq-dev mailing list