[Freeciv-Dev] Re: Linux saved game crashes client on Solaris (PR#1522)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, May 31, 2002 at 01:15:13PM -0700, Tuomo Takkula wrote:
> - there is no need to reinvent wheels if you want to transfer binary data
> over the network in a portable way: MPI (e.g. http://www-unix.mcs.anl.gov/mpi)
> pretty much solves the problem by reducing data transfers to the following
> primitives:
>
> transfer (blocked, unblocked, synchronous, asynchronous) of
> - scalars (char, int, float etc): endianness resolved automatically
> - arrays of scalars: endianness resolved automatically
> - structures: user must specify sufficient data type information such that
> endianness can be resolved
> - arrays of structures: ditto
Freeciv already has such primitives:
common/packet:{put,iget}_uint{8,16,32}. These function are just not
used by the attributes.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Make a software that is foolproof, and only fools will want to use it.
- [Freeciv-Dev] Re: Linux saved game crashes client on Solaris (PR#1522), (continued)
|
|