Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: attrhash
Home

[Freeciv-Dev] Re: attrhash

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx>
Cc: Freeciv Development List <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: attrhash
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Jan 2001 09:09:02 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxxxx

On Sun, Jan 14, 2001 at 03:44:26PM +0100, Falk Hueffner wrote:
> Hi,
> 
> I've just thought about the problem of endianess when transfering
> attribute data to the server. It needs to be properly swapped on
> sending and retrieveing. Perhaps one could have an array of swapper
> functions with one entry per category, which would get called from
> set_attribute. Does anybody have a good idea?

[ The common client code can't handle it since it only sees a
  bytestream. So the actual user of the bytestream has to do it. ]

There is no easy way to make this automatic. It would only affect
clients which switch during a game the architecture. IMHO the
cost-benefit ratio isn't nice. I would vote to list it as a limitation.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Microsoft DNS service terminates abnormally when it recieves a response
  to a DNS query that was never made.
  Fix Information: Run your DNS service on a different platform."
    -- MS service information on bugtraq



[Prev in Thread] Current Thread [Next in Thread]