CITS3002 Computer Networks |
← prev | next → | CITS3002 | help3002 | CITS3002 schedule | |||
Addressing Between Heterogeneous MachinesThe Internet's addressing mechanisms define end-points of communication using 32-bit host addresses and 16-bit ports. To provide fixed length headers, addresses and ports are integers (not strings). The Internet protocols define a network standard ordering - 'fields are described left to right, with the most significant octet on the left and the least significant octet on the right.'
Applications must convert incoming addresses and ports, arriving in network order, to their host order, and convert outgoing integers to network order:
Jonathan Swift's Gulliver's Travels, published in 1726, provided the earliest literary reference to computers, in which a machine would write books. This early attempt at artificial intelligence was characteristically marked by its inventor's call for public funding and the employment of student operators. Gulliver's diagram of the machine actually contained errors, these being either an attempt to protect his invention or the first computer hardware glitch.
The term endian
is used because of an analogy with the story Gulliver's
Travels, in which Swift imagined a never-ending fight between
the kingdoms of the Big-Endians and the Little-Endians
(whether you were Lilliputian or Brobdignagian),
whose only difference is in where they crack open a hard-boiled egg.
CITS3002 Computer Networks, Lecture 9, Client/server design, p12, 1st May 2024.
|