LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   difference b/w AF_ prefix and PF_ prefix related to socket (http://www.linuxquestions.org/questions/linux-newbie-8/difference-b-w-af_-prefix-and-pf_-prefix-related-to-socket-629134/)

Ashok_mittal 03-19-2008 03:46 AM

difference b/w AF_ prefix and PF_ prefix related to socket
 
Hi all,

As we know that while initializing sockaddr_in structure's members we use AF_ prefix and PF_ prefix.

But what is the basic difference b/w these two conventions and where to use
which convention

Mara 03-20-2008 04:15 PM

AF_ means address families, when PF_ means protocol families, but in practice it's the same.


All times are GMT -5. The time now is 09:16 AM.