Re: retrieve socket procotol family?

From: Per (void_at_caps.nu)
Date: 08/29/03


Date: 29 Aug 2003 13:41:33 -0700


> Well, before that we start a big discussion about the fundamental difference
> between PF_* and AF_*, I suggest that you do browse comp.protocols.tcp-ip
> or that you have a look on the Stevens book UNIX Network Programming,
> Volume 1, Second Edition
>
> Stated simply:
> yes, theoritically PF_* != AF_*. Pratically, PF_*==AF_*.
> Furthermore, POSIX/SUS defines only AF_*, not PF_*.
>
> (if it is decided one day that PF_* != AF_*, then there will be a lot of
> troubles! That's explain why some implementations try to get this right,
> avoiding the mixing between PF_* and AF_*)

Ok, thanks for the clarification! I've read this before, but I hoped
that there would be some practical distinction as well :-).

/Per