On Wed, Dec 11, 2002 at 11:31:08AM +0200, [EMAIL PROTECTED] wrote: > If Michael's intention is to use the struct to transfer information from one > architecture to the other, then you're absolutely right. Endianity is the > *first* thing to consider - Motorola is always the reverse of Intel. To transfer > information, don't use internal structs at all. Ever. Not even for text. > Translate to some exchange format, and document it well, including endianity, > character encoding, and all the little details.
And if you can, use XDR (External Data Representation). Standard is always good. http://www.faqs.org/rfcs/rfc1014.html. -- Muli ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]