XDR 协议字节顺序和网络字节顺序有什么关系?

What is the relationship of the XDR protocol endianess and network byte order?

XDR 协议使用大端。这与网络字节顺序的概念有什么关系?是直接的后果,还是独立的?

我想我想问的是在第 ISO/OSI 层定义的网络字节顺序。 XDR运行在表现层,那么它使用big endian是不是因为网络字节序标准也覆盖了表现层?

The XDR protocol uses big endian.

XDR 协议使用网络字节顺序,即大端。

How does this relate to the concept of network byte order? Is it a direct consequence, or are they independent?

见上文。

I guess what I'm trying to ask is at which ISO/OSI layer is the network byte order defined.

不是。 XDR 在 TCP 上运行,而 TCP 在 TCP/IP 网络层模型上运行,而不是 OSI 模型。 XDR 适合该模型的应用层。如果 OSI 与现实世界中的任何事物有任何关系(而事实并非如此),那么 XDR 可以说与 3270 一起适合表示层,几乎没有其他关系。但是 TCP/IP 的网络字节顺序适用于所有层。

XDR operates at the presentation layer, so is its use of big endian caused by the fact that the network byte order standard also covers the presentation layer?

它涵盖了所有层,但它只能在应用层以下执行。