[zeromq-dev] Question about Strange Socket Pairing
Michel Pelletier
pelletier.michel at gmail.com
Wed Dec 5 00:41:04 CET 2012
The guide says:
"Any other combination will produce undocumented and unreliable results and
future versions of ØMQ will probably return errors if you try them."
So, looks like you got lucky. You can't rely on that however and in the
future it likely will break as the underlying protocol evolves to guard
against these cases.
-Michel
On Tue, Dec 4, 2012 at 3:36 PM, Matt Goodman <meawoppl at gmail.com> wrote:
> I am writing an application that uses ZMQ for a couple of different
> things, one of which is error logging.
>
> For reasons that somewhat complicated, the logging server is written in
> Node, and the "clients" are Python and C++.
>
> I had no trouble getting everything to commuicate, and send messages with
> relative ease, however I wanted to ask a question about a strange socket
> pairing that I found to work, when I didn't expect it to.
>
> Initially, my logging was done with a node "PULL" socket, and several
> other "PUSH" clients. I wanted to eliminate the blocking behavior. I
> started the transition to the PUB/SUB model, but when I had retooled 1/2 of
> my code, the tests I had passed.
>
> Specifically, I had a PUB socket talking to a PULL socket . . .
> successfully. . .
>
> Is this pairing allowed, and are there unintentional oddities I will run
> into with it?
>
> Oh. Great project/product, and good work! Thanks!
> --Matthew Goodman
>
> =====================
> Check Out My Website: http://craneium.net
> Find me on LinkedIn: http://tinyurl.com/d6wlch
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121204/9f18778f/attachment.htm>
More information about the zeromq-dev
mailing list