Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the differnce between AF_INET and PF_INET?

Answers were Sorted based on User's Feedback



what is the differnce between AF_INET and PF_INET?..

Answer / karn

AF stands for Address Family
PF for Protocol Family

Is This Answer Correct ?    32 Yes 0 No

what is the differnce between AF_INET and PF_INET?..

Answer / hakim ali

there is no difference b/w AF_INET & PF_INET ...both have same interger value...

Is This Answer Correct ?    6 Yes 0 No

what is the differnce between AF_INET and PF_INET?..

Answer / neenz

In some documentation, you'll see mention of a mystical "PF_INET". This is a weird etherial beast that is rarely seen in nature, but I might as well clarify it a bit here. Once a long time ago, it was thought that maybe a address family (what the "AF" in "AF_INET" stands for) might support several protocols that were referenced by their protocol family (what the "PF" in "PF_INET" stands for).
That didn't happen. Oh well. So the correct thing to do is to use AF_INET in your struct sockaddr_in and PF_INET in your call to socket(). But practically speaking, you can use AF_INET everywhere.

Is This Answer Correct ?    1 Yes 0 No

what is the differnce between AF_INET and PF_INET?..

Answer / aymlord

it is a hitorical differnce,
that the first one supports the ipv6 and the second dosen't.

Is This Answer Correct ?    13 Yes 21 No

what is the differnce between AF_INET and PF_INET?..

Answer / anil jagtap

There is no difference between AF_INET and PF_INET just as
AF_PACKET == PF_PACKET.
The confusion because of some stupid naming standards(?)

Is This Answer Correct ?    13 Yes 28 No

Post New Answer

More C Interview Questions

what is unsigened char and what is the difference from char

2 Answers  


What are loops in c?

0 Answers  


Why do we use c for the speed of light?

0 Answers  


write a reverse string to print a stars.(with out using logic) ***** **** *** ** *

2 Answers  


how to return 1000 variables from functio9n in c?plz give me code also

6 Answers  


What is the difference between a free-standing and a hosted environment?

0 Answers   Aspire,


How many header files are in c?

0 Answers  


What is the difference between far and near in c?

0 Answers  


wat is output of the following int main() { const int j=2; int i; switch(i) { case 1:break; case j:break; default:break; } }

2 Answers  


who invented c

13 Answers   IBM,


What are qualifiers and modifiers c?

0 Answers  


Is javascript written in c?

0 Answers  


Categories