AF stands for A ddress F amily, while PF stands for P rotocol F amily.
The AF_UNIX family does not have the IPPROTO_TCP protocol, which is supported by this address family. AF_UNIX is designed for interprocess communication between processes on the same system in a UNIX® domain. The AF_UNIX and AF_UNIX_CCSID address families support protocol 0 for SOCK_STREAM and SOCK_DGRAM.
Read more here: Sockets
user195488
source share