Hi,

Ok, it seems to work now.
When the reciver gets the raw data, I have to cast the data to a struct pointer. Right?

The other question is:
but beware that these structures are aligned and for example size of MB_Request is more than 5 bytes.
Also make sure that integers have proper endianness
What do you mean with that the structures are aligned? And how can I maintain the proper endianess, I think that I'm sending the data as big endian.

Thanks,