Quote:
Originally Posted by jayadhanesh
the queue ID is different in both the process
|
What is this queue ID of which you speak? The man pages (mq_overview, mq_open, mq_getattr) say nothing of a queue ID.
If what you refer to is the message queue descriptor returned to you by
mq_open(), you should use that for later operations, but don't expect its value to be the same from one user of the queue to the next, even at the same time.
Does your program not work?