sending messages

hi, i am having trouble sending and receiving messages.

i have a message format using two integers and a double char array.
however, when i try to send it, the receiver receives a message with only
the first integer field full - the other two fields are zeroed out.

can anyone help me with this?

Jason Ahmad <jahmad@stanford.edu> wrote:

hi, i am having trouble sending and receiving messages.

i have a message format using two integers and a double char array.
however, when i try to send it, the receiver receives a message with only
the first integer field full - the other two fields are zeroed out.

can anyone help me with this?

Sending messages works – everything in the OS is built on top of
sending messages.

So, you are likely doing something wrong in your parameters to either
MsgSend() or MsgReceive().

So, can you post and show us what you are doing?

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.