Re: [PHP4BETA] PF_INET
| From: | Sascha Schumann | Date: | Thu, 02 Dec 1999 12:56:38 +0000 |
| Subject: | Re: [PHP4BETA] PF_INET | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7239@lists.php.net to get a copy of this message | ||
On Mon, Nov 22, 1999 at 10:50:03PM +0100, Jonathan Perret wrote:
>
> BeOS is not a reference here (its socket implementation is far from
> conformant anyway), but are you sure every system has the PF_xxx
> defines ? For example, the Linux socket(2) man page mentions only
> AF_xxx, not PF_xxx.
Just for the record, the Linux man pages[1] were improved to
use PF_*.
socket(2) contains an interesting note now:
The manifest constants used under BSD 4.* for protocol
families are PF_UNIX, PF_INET, etc., while AF_UNIX etc.
are used for address families. However, already the BSD
man page promises: "The protocol family generally is the
same as the address family", and subsequent standards use
AF_* everywhere.
[1] ftp://ftp.win.tue.nl/pub/linux-local/manpages/
--
Regards,
Sascha Schumann
Consultant