[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: int vs. struct




Dan Stromberg wrote:
> 
> Yes, any ADT that is to be saved on disk or transmitted over the net (or
> given any other external form) should have a conversion from host byte
> order (and FP format, &c) to network byte order (&c).

Unfortunately, those aren't the only cases... Anything that gets placed
in a .DLL, .LIB, or equivalent is subject to the same restrictions.
-- 
http://www.classic-games.com/
If you commit perjury, you go to jail... Is the President of the United
States above the law? Food for thought.
*** NEWBIES: Limit signatures to four lines! No HTML mail or posts! ***