socket.inet_aton 64-bit buglet; endianess?

Christos TZOTZIOY Georgiou DLNXPEGFQVEB at spammotel.com
Mon Jan 13 09:45:27 CET 2003


At least on SGI Irix, it returns a byte representation of a long (8
bytes), which is plain wrong.

What I wanted to know before supplying a patch, is that: is the
endianess of the result specified?  Should I just return a string
representation of a 4-byte integer, or should I make sure it is in
network order (big-endian)?

Thanks in advance.
-- 
TZOTZIOY, I speak England very best,
Real email address: 'dHpvdEBzaWwtdGVjLmdy\n'.decode('base64')




More information about the Python-list mailing list