Up: Communication Protocol
Previous: Communication Protocol
A ``reader-makes-right'' strategy (like CORBA IIOP, for example) is adopted
to handle encoding. The writer outputs a message using the endianess
most natural to its local processor or software platform. The reader must
be prepared to accept either encoding, and reverse byte orders if the
encoding in the message does not agree with its local native ordering.
If the source and destination have same endianess (which is common),
no reversal in necessary, whatever the endianess actually is.