Message queue on another node

Could someone please help me clarify this:

I wish to use mq_open() to address a queue on another node. I don’t get the
result I want by just using //node/queue (or should this work?).

Do I have to involve env. MQ_NODE to address the other node, and if so, what
if I on one node wish to address both local and other nodes queues?


Regards,
Bjørn Tore

yes. before opening/creating the queue you need to set this envar in
code.
once the fd is created then you are fine in using it for send/recv
without setting the envar.


I wish to use mq_open() to address a queue on another node. I don’t get the
result I want by just using //node/queue (or should this work?).

Do I have to involve env. MQ_NODE to address the other node, and if so, what
if I on one node wish to address both local and other nodes queues?


Randy Martin randy@qnx.com
Manager of FAE Group, North America
QNX Software Systems www.qnx.com
175 Terence Matthews Crescent, Kanata, Ontario, Canada K2M 1W8
Tel: 613-591-0931 Fax: 613-591-3579