http://www.lapsus-engineer.org/patches/php_inetgetaddrfam.diff
Thank you, Nic. On Sat, 8 Jan 2005 12:40:42 +0100 (CET), Derick Rethans <[EMAIL PROTECTED]> wrote: > On Sat, 8 Jan 2005, [ISO-8859-1] Nicolas Bïrard Nault wrote: > > > Hi, > > > > This patch adds a function for getting the family of the address in > > $Address. If $Address is not of any family, false is returned. I, > > myself, need this function to verify that an ip provided by an user is > > a real ip. Then, to use this address with, in exemple, socket_create() > > and later bind it, I need to know the address family of the address so > > it is very useful. > > > > Please comment my patch and, if there are no objections, commit it ;-). > > Please provide a link to your patch, the MLM only wants text/plain > attachments and it strips others. > > Derick > > -- > Derick Rethans > http://derickrethans.nl | http://ez.no | http://xdebug.org > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php