Complete.Org: Mailing Lists: Archives: freeciv-dev: January 1999:
Re: [Freeciv-Dev] Is client/server protocol documented anywhere?
Home

Re: [Freeciv-Dev] Is client/server protocol documented anywhere?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Is client/server protocol documented anywhere?
From: Trent Piepho <xyzzy@xxxxxxxxxxxxxxxx>
Date: Wed, 20 Jan 1999 14:29:42 -0800 (PST)

On Wed, 20 Jan 1999, David Pfitzner wrote:
> Mitch Davis wrote:
> 
> So I wonder if we should change to network byte order for
> the next version.  (Any volunteers to code it? :-)

I can do this.  It's very simple, just change the {put,get}_int32,
{put,get}_int16 functions to use the htons and htonl macros.  The marshalling
code for bytes, strings, citymaps, and bit strings doesn't need to be changed.



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