Re: [Freeciv-Dev] Endianess of packet data
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Artur Biesiadowski wrote:
> It seems to me that big endian data is used,
Network byte order is now used. (Whatever that is ;-)
> but at the same time there
> is a test for other layout. Should I suppose that all modern
> servers/clients use bigendian in packets or should I detect this ?
For writing a client, you can assume the current byte order.
The current server partially handles the old byte order, so
that it can successfully tell older clients to go away.
-- David
|
|