[Ffmpeg-devel] [RFC] AF_INET or PF_INET

François Revol revol
Thu Feb 22 16:43:20 CET 2007


> POSIX only talks about AF_*.  The PF_* family is old BSD, nowadays
> defined only for compatibility.

PF = protocol family
AF = address family
It has a little semantic difference, and though most actually have a 
1:1 mapping, some obscure protocols do share the address family of 
others...
I recall seeing some BSD headers doing so.
that'd mean socket(,,PF_FOO); and sa->sa_family = AF_FOO;

Fran?ois.




More information about the ffmpeg-devel mailing list