In article <email@example.com>, David Gibbs wrote:
Hm… it might be something that didn’t work in 6.2.0, but now works.
Or it may be that the create on the name has to be done locally, and
after that access can be gained accross the net, I’m not sure.
YOu might try a local mq_open( O_CREAT), and the remote open after that.
If that doesn’t work, it is something that was added/fixed/enhanced between
6.2.0 and 6.2.1B, because I’ve recently tested that situation under 6.2.1B.
mq_open(/net/wiggum/dev/mqueue/srasku) #14: Bad address
when I try and do this.
Here’s the modified logic that I tried to do this.
int iFlags = O_WRONLY;
if (0 == strncmp(pStrOutputMsgQueue, “/net/”, 5))
iFlags |= O_CREAT;
fprintf(stderr, “Have to create queue %s (0x%x)\n”,
if ( (mqd = mq_open(pStrOutputMsgQueue, iFlags) ) == -1)
snprintf(err, sizeof(err), “mq_open(%s) #%d”, pStrOutputMsgQueue,
Did I make a mistake?