[zeromq-dev] ZMQ_PAIR sockets in 3.x ZMQ / IPC inwinows implementation
Dorin Ciobanu (dciobanu)
dciobanu at cisco.com
Wed Jan 18 15:11:39 CET 2012
ZMQ_PAIR - shame! They are very convenient when used in combination with
Google Proto-buffers.
Second part of my question is state of windows IPC support. Hopefully
somebody knows.
-----Original Message-----
From: zeromq-dev-bounces at lists.zeromq.org
[mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Chuck Remes
Sent: 18 January 2012 13:51
To: ZeroMQ development list
Subject: Re: [zeromq-dev] ZMQ_PAIR sockets in 3.x ZMQ / IPC inwinows
implementation
On Jan 18, 2012, at 7:41 AM, Dorin Ciobanu (dciobanu) wrote:
> Hi!
>
> Can anybody please let me know about the level of support for ZMQ_PAIR
sockets in ZMQ 3.0?
> In 2.x they don't support auto-reconnect and occasionally I'd get
asserts (probably because of that).
ZMQ_PAIR sockets don't really fit in to the zeromq philosophy. Including
them at all was probably a mistake. There are a few (minor) use-cases
for ZMQ_PAIR, but in most situations where you would use one a regular
BSD socket is probably appropriate. They are generally used for
signaling between threads in which case a DEALER/ROUTER pair is just as
useful (or a DEALER/DEALER pair).
I would expect that in the future, ZMQ_PAIR will be dropped.
> Also I'm interested in IPC transport on Windows. Could you please tell
me (or direct me to an URL that google didn't find for me) where the
current state and future plans are?
If you search the archives for this list, you should find a few
discussions on this topic. If memory serves, we have had 2 or 3 people
tackle the creation of Windows IPC but no code has ever really made it
back into zeromq. Apparently the Windows mechanisms for asynchronous
delivery of data via named pipes is not a very good fit for zeromq's
internal architecture. The lead developer (Martin Sustrik) is also more
of a UNIX guy than a Windows guy so, unless there is some strong
incentive for him to work on it, I think this contribution will have to
come from a community member.
Perhaps one of the people working on this code can speak up. We would
all appreciate an update on their progress even if it's just "I gave up
but here's why."
> Hopefully it's the right place to ask.
Yep, this is the right place!
cr
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list