[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AF_LOCAL vs AF_UNIX



I'm not totally sure on this issue, but I'm guessing the definition for
AF_LOCAL is missing from the MiNT socket.h header file? POSIX renamed
AF_UNIX to be AF_LOCAL (quite logical considering what POSIX is attempting
to accomplish). Is this definition is missing from the mintnet header file
I would suggest the following line right after AF_UNIX is defined:

#define AF_LOCAL AF_UNIX

As far as I can tell they are completely equivilent and although POSIX may
have slightly redefined some handling of local sockets, this definition is
most likely sufficient for the purpose of MiNTnet at the moment.

         -     ---------- = = ---------//--+
         |    /     Kristoffer Lawson      |    www.fishpool.com
         +-> |    setok@fishpool.com       |  - - --+
             |-- Fishpool Creations Ltd - /         |
             +-------- = - - - = ---------      /~setok/