Here is the question: if Host A wants to transmit some data across TCP/IP network to Host B with IP address of
18.104.22.168 how will this Dest_IP address be represented?
Correct, it will be hex encoded, but will the bytestream be like
0x01 02 03 04 or
0x04 03 02 01? Yep, you see where I am going, its
endianness who is telling us which byte comes first.
So take a look at this short article which is a perfect read on Endianness. It uncovers why x86 CPUs (back in 90-00's) were a bad choice for networking equipment and how the hell Gulliver's Travels has mixed up with all of it?