Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66844 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43816 invoked from network); 27 Mar 2013 21:38:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Mar 2013 21:38:26 -0000 Authentication-Results: pb1.pair.com header.from=sam@mujo.be; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=sam@mujo.be; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain mujo.be designates 91.212.186.24 as permitted sender) X-PHP-List-Original-Sender: sam@mujo.be X-Host-Fingerprint: 91.212.186.24 zimbra.mujo.be Linux 2.6 Received: from [91.212.186.24] ([91.212.186.24:56471] helo=zimbra.mujo.be) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/92-30100-FC663515 for ; Wed, 27 Mar 2013 16:38:25 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.mujo.be (Postfix) with ESMTP id 1346C2000D; Wed, 27 Mar 2013 22:38:21 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.mujo.be Received: from zimbra.mujo.be ([127.0.0.1]) by localhost (zimbra.mujo.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4-6lyjsinVty; Wed, 27 Mar 2013 22:38:17 +0100 (CET) Received: from [192.168.69.43] (94-225-34-82.access.telenet.be [94.225.34.82]) by zimbra.mujo.be (Postfix) with ESMTPSA id 4A4892000C; Wed, 27 Mar 2013 22:38:17 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) In-Reply-To: Date: Wed, 27 Mar 2013 22:38:18 +0100 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <3C286757-7841-42D7-8E58-97D37069675E@mujo.be> References: <7D873005-C72C-4BEB-BED2-46BF716F40BD@mujo.be> To: Lars Strojny X-Mailer: Apple Mail (2.1503) Subject: Re: [PHP-DEV] RFC ? gethostbyname - getnameinfo() From: sam@mujo.be (Sam Hermans) Not sure, I tried something locally and this is what i came up with (and what i = think expected behaviour could be) wrote: > I agree, PHP should have world-class support for v6. What is your = proposal exactly? >=20 > Am 27.03.2013 um 13:39 schrieb Sam Hermans : >=20 >> Hi, >>=20 >> The rcf howto pushed me into mailing you guys to measure reaction.=20 >>=20 >> For a project i am working on i struggle a lot with the fact that = $_SERVER['REMOTE_ADDRESS'] return policy is to prefer IPv6 over IPv4, = and that gethostbyname prefers IPv4. It seems that the gethostbyname >> function as used in php is deprecated, and that getnameinfo should be = used. >>=20 >> I think that in an age where we are finally getting the support of = the *big* boys to start using IPv6 that php should be there and ready = for them. >>=20 >> I have never contributed to php core before, but i'm more than happy = to take the lead on this one. >>=20 >> Please let me know what you guys think, and thank you for your time. >>=20 >> Kind regards, >> Sam Hermans >>=20 >>=20 >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >>=20 >=20