Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66833 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84978 invoked from network); 27 Mar 2013 14:35:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Mar 2013 14:35:06 -0000 Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain strojny.net from 46.4.40.248 cause and error) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 46.4.40.248 milch.schokokeks.org Received: from [46.4.40.248] ([46.4.40.248:33115] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6F/99-30100-69303515 for ; Wed, 27 Mar 2013 09:35:05 -0500 Received: from [192.168.1.130] (p5099f5c8.dip0.t-ipconnect.de [::ffff:80.153.245.200]) (AUTH: PLAIN lars@schokokeks.org, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by milch.schokokeks.org with ESMTPSA; Wed, 27 Mar 2013 15:34:59 +0100 id 0000000000000024.0000000051530393.00006669 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) In-Reply-To: <7D873005-C72C-4BEB-BED2-46BF716F40BD@mujo.be> Date: Wed, 27 Mar 2013 15:34:58 +0100 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: <7D873005-C72C-4BEB-BED2-46BF716F40BD@mujo.be> To: Sam Hermans X-Mailer: Apple Mail (2.1499) Subject: Re: [PHP-DEV] RFC ? gethostbyname - getnameinfo() From: lars@strojny.net (Lars Strojny) I agree, PHP should have world-class support for v6. What is your = proposal exactly? Am 27.03.2013 um 13:39 schrieb Sam Hermans : > 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