Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14315 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63768 invoked by uid 1010); 8 Jan 2005 17:39:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63749 invoked from network); 8 Jan 2005 17:39:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2005 17:39:33 -0000 X-Host-Fingerprint: 64.233.184.205 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.205:33639] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity HEAD (r4059)) with SMTP id 9F/78-47049-5DA10E14 for ; Sat, 08 Jan 2005 12:39:33 -0500 Received: by wproxy.gmail.com with SMTP id 36so519563wri for ; Sat, 08 Jan 2005 09:39:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=LmJQPycvOElXA+YrUq1WQ2BRexHC+bXqLuKX9ws4UNQILy9AFET6rIGhE36pToAhATeXpA2YImTH4zV2mHh3lFfajqb6gEErki3Rtwf+RBR/JVJ4YacF6U2+f1tCbKYeZzuPaHJnhK2xf+K5eGq4xbbkGCyJmQyZGmo3gJFnfOA= Received: by 10.54.17.29 with SMTP id 29mr388916wrq; Sat, 08 Jan 2005 09:39:30 -0800 (PST) Received: by 10.54.59.35 with HTTP; Sat, 8 Jan 2005 09:39:30 -0800 (PST) Message-ID: <30bd80240501080939701dc7d9@mail.gmail.com> Date: Sat, 8 Jan 2005 12:39:30 -0500 Reply-To: =?ISO-8859-1?Q?Nicolas_B=E9rard_Nault?= To: internals@lists.php.net In-Reply-To: <30bd80240501080934635dc071@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <30bd80240501072145750bf8d8@mail.gmail.com> <30bd80240501080934635dc071@mail.gmail.com> Subject: Re: Resend with modifications: inet_getaddrfam() From: nicobn@gmail.com (=?ISO-8859-1?Q?Nicolas_B=E9rard_Nault?=) http://www.lapsus-engineer.org/patches/php_inetgetaddrfam.diff Thank you, Nic. On Sat, 8 Jan 2005 12:40:42 +0100 (CET), Derick Rethans wr= ote: > On Sat, 8 Jan 2005, [ISO-8859-1] Nicolas B=EF=BF=BDrard 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 >