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:
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.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
Thanks,
Bookmarks