[zeromq-dev] ZMQ_PAIR sockets in 3.x ZMQ / IPC in winows implementation

Pieter Hintjens ph at imatix.com
Thu Jan 19 05:31:01 CET 2012

On Wed, Jan 18, 2012 at 4:58 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> 0mq is mainly about communication between multiple endpoints which makes
> PAIR kind of out of scope.
> However, using pair where raw TCP connection would be appropriate makes the
> task much easier for the user.

My use case runs over inproc, not TCP. There is really no other way to
make a safe pipe between two threads except PAIR over inproc.

I'd probably advise against using PAIR over TCP since it doesn't
handle reconnection properly. With inproc this isn't an issue.


More information about the zeromq-dev mailing list