We said that endianness will not affect your program performance or correctness so long as the use of a (high level) data structure is commensurate with its declaration. Are there situations where even if your program does not violate the above rule, you could be bitten by the endianness of the architecture? [Hint: Think of programs that cross network boundaries.]

What will be an ideal response?


Yes, if data from a big-endian computer were transferred over a network to a small endian computer data corruption could occur. However, this problem has largely been solved with the Internet and networks which use similar technology. The solution is for networks to use a standard endianness. If the endianness of the network is different from the host computer, the host’s network interface will apply the appropriate conversion.

Computer Science & Information Technology

You might also like to view...

The ____________________ list contains information that will be merged into the starting document and sent to multiple companies.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A group of cells arranged into rows and columns, where controls can be placed on a form or report, is called a ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

In the Action Center ________ items are suggested tasks, usually maintenance in nature

Fill in the blank(s) with correct word

Computer Science & Information Technology

Given an employee structure variable containing a name field, which of the following statements correctly references the name?

A. employee B. employee_name C. employee.name D. ptr->employee_name E. ptr->employee.name

Computer Science & Information Technology