On 32 bit system, sizeof(T_PositionMsg) = 196. On 64 bit system it is
200, due to extra 4 bytes padding at the end.

To make matters worse, in the assembled MP packet this message is
followed by property values.
Assuming the padding bytes are zero, a 32 bit receiver should be able
to process packets sent by a 64 bit machine, because it skips over the
unknown id of 0. I am puzzled how it even works the other way around.

I also don't understand the reason for the padding.

-- 
Csaba/Jester

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to