I did some googling and couldn\'t find any good article on this question. What should I watch out for when implementing an app that I want to be endian-agnostic?
Inside your code you can pretty much ignore it - everything cancels out.
When you read/write data to disk or the network use htons