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

Re: int vs. struct




Dan Stromberg wrote:
> > Unfortunately, those aren't the only cases... Anything that gets placed
> > in a .DLL, .LIB, or equivalent is subject to the same restrictions.
> 
> Shared libraries should generally use host order for efficiency, until
> data is sent outside the program with which they are linked.
> 
> Why ever would a library that never ships data outside a program, want
> to fiddle with network byte order?

Sorry, I was referring to the problems Dave mentioned, not the
host/network byte order thing, I should have been more clear.
-- 
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! ***