I am trying to write to my message queue (mq_send).
Here is my code for opening the queue first and then for writing to it.
Opening:
int MQconnect (