5 ms·
I would assume endianness to be an issue in such code. Where in these structs would the order need to be validated? Or am I wrong in thinking that the byte orde
by godojo 11y ago
I would assume endianness to be an issue in such code. Where in these structs would the order need to be validated? Or am I wrong in thinking that the byte order matters for x86 targeted c network code?
- jws 11y agox86 is little endian. The internet protocols are mostly big endian. It matters. The good part is you catch your mistakes. Developing networking code on a big endian machine can get you a surprise later.