Sujet : Re: The joy of Linux
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : alt.folklore.computers comp.os.linux.miscDate : 25. Oct 2024, 02:36:34
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vfesn1$2s7ud$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Pan/0.160 (Toresk; )
On 25 Oct 2024 00:30:42 GMT, rbowman wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>
On 24 Oct 2024 17:02:02 GMT, rbowman wrote:
>
RS6000 is big endian and the ONC-RPC XDR encoding is big endian
across the network. The Linux boxes would swap the order when
decoding the XDR.
>
Linux runs on hardware of both kinds of endianness. This is why you
have functions like htons/htonl etc
Yes, and they wouldn't be too helpful when dealing with XDR. That comes
with its own set of data types and functions.
This is the same XDR that was created by Sun, back in the day? They knew
their networking stuff. They were not stupid; they would have taken
endianness into account in their support functions; if you’re having
trouble with this, then I suspect you’re doing it wrong.