[PATCH] Get the internet family of an address
| From: | Nicolas Bérard Nault | Date: | Fri, 31 Dec 2004 16:39:07 +0000 |
| Subject: | [PATCH] Get the internet family of an address | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-14253@lists.php.net to get a copy of this message | ||
Hi,
URL: http://www.lapsus-engineer.org/inet_getaddrfam.diff
The new function (int inet_getaddrfam(address)) will return AF_INET or
AF_INET6, depending of the family of the address. If it does not seem
to be a correct address, FALSE is returned.
All sorts of comments will be appreciated.
Thank you.