Re: retrieve socket procotol family?
From: Per (void_at_caps.nu)
Date: 08/29/03
- Next message: Andrew Gierth: "Unix Programming FAQ (v1.37)"
- Previous message: Geoff Clare: "Re: read( ) versus fread( )"
- In reply to: Loic Domaigne: "Re: retrieve socket procotol family?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Andrew Gierth: "Unix Programming FAQ (v1.37)"
- Previous message: Geoff Clare: "Re: read( ) versus fread( )"
- In reply to: Loic Domaigne: "Re: retrieve socket procotol family?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]