Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95429 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86526 invoked from network); 24 Aug 2016 15:48:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2016 15:48:09 -0000 Authentication-Results: pb1.pair.com header.from=bishop.bettini@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bishop.bettini@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.43 as permitted sender) X-PHP-List-Original-Sender: bishop.bettini@gmail.com X-Host-Fingerprint: 209.85.218.43 mail-oi0-f43.google.com Received: from [209.85.218.43] ([209.85.218.43:36684] helo=mail-oi0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/09-10212-5B1CDB75 for ; Wed, 24 Aug 2016 11:48:08 -0400 Received: by mail-oi0-f43.google.com with SMTP id f189so28025671oig.3 for ; Wed, 24 Aug 2016 08:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AUK+yIuPxRBbBUPE/Ze5+6K7kQUWMOyDA+nPY3h8lMU=; b=kAQJo5kc6Iviv/3W2moJhrNUQEk/wPEeDubwgmjTDAaQNEhbUDMIkslhUrtoWiQtFb mxJGzfUAkdGk65XiJ8Oo4P+QhxVzswKBWGxTCqVwhoOrZAApzpyWnz0OvO2bFZisJiCI WWMGo0nWk4TL6rdiLrw9GHrMZixPlltDowtceopc/CvpRPuwYfwYPWHJu40XYnMowjr3 eTvM6CT5nof/DotMoMguTGJdgeS6Ogm24zLN9a7uxaYWULG3gYJKlUTF5cTXKSpt34P4 dd+xM3e4VNaOoj/gEPYPueYWpEtdF2MQj5cXvbGkqa2z7UWWzFcLOxCWVd13hdTPKxSQ dmAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:sender:in-reply-to :references:from:date:message-id:subject:to:cc; bh=AUK+yIuPxRBbBUPE/Ze5+6K7kQUWMOyDA+nPY3h8lMU=; b=NXc9Nuo3+pKBFOTlxB7qIpS9CW7BO1Or+oSBn9SdxcVXkYpeolpaQiZ7kUOU2GYccY +0Yy1vlhCwXOb6TsVg2+Zg8Ls+OCc0N7N6I7yMWf0KM/uS+Qr3Rtgck7GpTegd14FdRI zJr0dkvWjLB0Y1gLzey60TwSwVZb3r9oBkSx/Q8iKkB11BDXf6vCUMFC5eQAX8uPdgn4 016C4ZKUtcVwtgQOYSP1jHrwxkBjT6DhjEu39F949EMSX45H5Ckw25sI/sygH4rlw3/C LEHNvUTEVKBvpEOaK5Q9NCLt1BeuHF19exd4OgJRFvFbeaZZjQN29W1tf/VxbxjaKW0+ c2Sw== X-Gm-Message-State: AEkoouvd8RJypzHN9H7HJT3+y2uUFKMMEHgMdm06/E3szLTVDyKb49HLxlTha9y0/7iIPBgg29cFDu7UupMi+g== X-Received: by 10.202.171.73 with SMTP id u70mr2799256oie.42.1472053682634; Wed, 24 Aug 2016 08:48:02 -0700 (PDT) MIME-Version: 1.0 Reply-To: bishop@php.net Sender: bishop.bettini@gmail.com Received: by 10.157.11.214 with HTTP; Wed, 24 Aug 2016 08:47:32 -0700 (PDT) In-Reply-To: References: Date: Wed, 24 Aug 2016 11:47:32 -0400 X-Google-Sender-Auth: hNW-E-pxa0hbCErzRNzQZoEGSxw Message-ID: To: David Walker Cc: PHP internals Content-Type: multipart/alternative; boundary=001a113c51c6d8062f053ad3345e Subject: Re: [PHP-DEV] [RFC][VOTE]: Implement socket_getaddrinfo family From: bishop@php.net (Bishop Bettini) --001a113c51c6d8062f053ad3345e Content-Type: text/plain; charset=UTF-8 On Wed, Aug 24, 2016 at 11:26 AM, David Walker 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). --001a113c51c6d8062f053ad3345e--