Re: Resend with modifications: inet_getaddrfam()

From: Date: Sat, 08 Jan 2005 17:39:30 +0000
Subject: Re: Resend with modifications: inet_getaddrfam()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-14315@lists.php.net to get a copy of this message
http://www.lapsus-engineer.org/patches/php_inetgetaddrfam.diff Thank you, Nic. On Sat, 8 Jan 2005 12:40:42 +0100 (CET), Derick Rethans <derick@php.net> 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 >

« previous php.internals (#14315) next »