Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Freeciv networking
Home

[Freeciv-Dev] Freeciv networking

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Freeciv networking
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxxx>
Date: Tue, 11 Jul 2000 23:09:43 +0100 (WET DST)

Because of all the problems we have been having in porting the network
code of freeciv to different platforms (especially the Mac), we agreed
that an abstraction layer for the network code should be made.

The file included has the start of an abstraction layer which, for the
moment, only supports Mac OpenTransport (because that has been the most
difficult to port to, caused by being the only network library on the
supported platforms which isn't BSD based.), however it was coded with a
BSD socket interface port in mind.

Even the Mac bit is still far from complete: the abstractions for datagram
socket read/write and, most important of all, select() haven't been coded
yet.

A couple of utility functions are missing too.

Once the OpenTransport stuff is finished, i'll start working on the BSD
based port (including BSD 4.3 UNIX, Win32, Amiga) - that should be the
easy part.

Since i don't have a Mac, i humbly request that people with knowledge of
Mac networking (& access to a Mac) take a look at this code [Andy Black,
if you are reading this, you know who i'm talking about ;)]

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa

Attachment: net.c.gz
Description: Binary data


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