Re: [RFC][VOTE]: Implement socket_getaddrinfo family

From: Date: Wed, 24 Aug 2016 15:47:32 +0000
Subject: Re: [RFC][VOTE]: Implement socket_getaddrinfo family
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-95429@lists.php.net to get a copy of this message
On Wed, Aug 24, 2016 at 11:26 AM, David Walker <dave@mudsite.com> wrote: > I'd like to open voting on my RFC[1] to implement getaddrinfo(). The RFC > implements 4 new socket extension functions to aid in the calling, > examining, and connect/binding of the addrinfo structure. > +1 from me -- let the OS do the lookups. Would you please add example usage and output of socket_addrinfo_explain to the RFC, as that'll drive documentation creation? Also, it may be beneficial to elaborate on the scenarios where socket_addrinfo is easier to use than socket_* and friends (getservbyname for example) and the costs of that ease (eg, behind the scenes DNS queries).

« previous php.internals (#95429) next »