In the ISO OSI protocol hierarchy, everything described above is part of the data link and physical layers, yet there is obviously quite a bit here!
Part A: The ISO OSI protocol hierarchy is not the final word in hierarchic analysis of communication protocols. What layers or sublayers can you identify in the protocol hierarchy described above?
Part B: Give a top-level design for the code running on the transmitting computer. assume that the application level code calls put-byte(ch) every time it has a character ch to send over the link, and that the transmitter has a commonplace UART interface, and that the UART is served by two interrupt service routines, one called when input arrives, and one called when output can be sent.
Part A: Some RPC advocates urge us to use canonical data representations in all intermachine data transmission. Which of the above problems does this solve and why might this conflict with the other problem.
Part B: Suggest a canonical data representation for data sent by a C program on one machine to a C program on another. Consider the possibility that one machine may be bigendian, the other littleendian, one may use ASCII as its native character set, while the other uses EBCDIC, one may use 32-bit words while the other uses 36-bit words. Assume there is no such thing as floating point data!