Liste des Groupes | Revenir à col misc |
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.
Les messages affichés proviennent d'usenet.