[zeromq-dev] ZMQ transport priority.

Vitaliy Ivanov vitaliy at toroki.com
Mon Nov 26 19:30:23 CET 2012

Hi List/Pieter,

I have a question regarding ZMQ transport priority that is chosen. Small

void *socketPub = zmq_socket (context, ZMQ_PUB);
zmq_bind (socketPub, "inproc://my_publisher");
zmq_bind (socketPub, "ipc:///tmp/my_publisher");
zmq_bind (socketPub, "tcp://my_publisher:5555");

void *socketSub = zmq_socket (context, ZMQ_SUB);
zmq_connect (socketSub, "inproc://my_publisher");
zmq_connect (socketSub, "ipc:///tmp/my_publisher");
zmq_connect (socketSub, "tcp://my_publisher:5555");

What transport is used when I send a message between sockets?

Does the order depend on socket type?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121126/38349591/attachment.htm>

More information about the zeromq-dev mailing list