2 ms·
The whole “network order” of bytes thing is not a given. There’s little endian “network orderings”. And now it seems most CPUs are little endian anyway, so why
by butterisgood 3y ago
The whole “network order” of bytes thing is not a given. There’s little endian “network orderings”.
And now it seems most CPUs are little endian anyway, so why do this conversion anymore to “network order” if you are designing a new protocol?
- actionfromafar 3y agoAs much as I am a big endian fanboy by nurture, the important thing is that the order is documented. Also, I don't know if this is apocryphal, but as a wee lad I was told the tale that network routers worked faster because they could do coarse addressing faster thanks to seeing IPv4 addresses in big-endian, when the bytes trickled in one-by-one.