[Freeciv-Dev] Freeciv networking
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
net.c.gz
Description: Binary data
- [Freeciv-Dev] Freeciv networking,
Vasco Alexandre Da Silva Costa <=
|
|