LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2008, 03:46 AM   #1
Ashok_mittal
Member
 
Registered: Dec 2007
Posts: 73

Rep: Reputation: 15
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
 
Old 03-20-2008, 04:15 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to have an rsync prefix? Meson Linux - General 1 02-27-2008 06:32 PM
Apache --prefix=??? graciejj_82 Linux - Software 1 06-19-2007 02:48 PM
Always -prefix=/usr? oneandoneis2 Linux From Scratch 5 07-28-2004 12:11 AM
Optimize/Prefix rogk Linux - Software 1 07-25-2004 05:04 AM
./configure --prefix=/??? mykrob Linux - Newbie 7 06-24-2004 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration