Re: RFC ? gethostbyname - getnameinfo()

From: Date: Wed, 27 Mar 2013 14:34:58 +0000
Subject: Re: RFC ? gethostbyname - getnameinfo()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-66833@lists.php.net to get a copy of this message
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 <sam@mujo.be>: > Hi, > > The rcf howto pushed me into mailing you guys to measure reaction. > > 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. > > 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. > > I have never contributed to php core before, but i'm more than happy to take the lead on > this one. > > Please let me know what you guys think, and thank you for your time. > > Kind regards, > Sam Hermans > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.internals (#66833) next »