[zeromq-dev] ZMTP 3.0 Status: Sharing Single TCP connection (Example code ?)

Pieter Hintjens ph at imatix.com
Fri Jun 7 15:25:14 CEST 2013


On Fri, Jun 7, 2013 at 2:39 PM, Yannick Koehler <yannick at koehler.name> wrote:

>   I have a need where for firewall penetration and simplicity to have a
> single TCP connection between my clients and servers.  My understanding is
> that ZMTP 3.0 is offering this.  It is also my understanding that right now
> this is not yet stable or usable in a production environment, is this
> assertion true?

It's specified in ZMTP 3.0 but not implemented in libzmq yet.

>   I will download libzmq and try to find out on my own, but would really
> appreciate some pointer as to the state of this kind of usage and best
> practices...

My advice is to step back from what you want to make, and instead
spend a few days learning the 0MQ patterns and semantics by working
through the Guide. When it "clicks" for you, go back to your problem
and make a simple minimal design. Then develop that little by little.
If you try to make the real architecture directly, it will usually not
work due to the many wrong assumptions you have about how 0MQ works,
and you'll be disappointed with 0MQ.

-Pieter



More information about the zeromq-dev mailing list