Top Talked Books
Hacker News Books
Stack Overflow Books
Write Portable Code: An Introduction to Developing Software for Multiple Platforms
Author: Brian Hook
Avaliable on Amazon
There's a lot wrong here. Trying to overlay a structure on a network packet is just a bad idea. Not only do you have endianess issues, but also alignment and padding issues. You should really check out the book [Write Portable Code](https://www.amazon.com/Write-Portable-Code-Introduction-Developing/dp/1593270569). It'll highlight these sorts of problems.
If you don't want to miss out any great books, please subscribe. Don't worry, we hate spam too, we will not send you anything other than great books.