What is the difference between AF_INET and PF_INET in socket programming?
I\'m confused between using AF_INET and PF_INET in socket() and bind()>
socket()
bind()>
Checking the header file solve's the problem. One can check for there system compiler.
For my system , AF_INET == PF_INET
AF == Address Family And PF == Protocol Family
Protocol families, same as address families.