Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13318 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28926 invoked by uid 1010); 13 Oct 2004 09:52:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28895 invoked from network); 13 Oct 2004 09:52:51 -0000 Received: from unknown (HELO t0x.net) (195.68.251.133) by pb1.pair.com with SMTP; 13 Oct 2004 09:52:51 -0000 Received: from v0mix (v0mix.pendragon.gentilly.esds.com [192.168.2.55]) (authenticated bits=0) by t0x.net (8.13.1/8.13.1/Debian-15) with ESMTP id i9D9qmb3018818 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 13 Oct 2004 11:52:50 +0200 Message-ID: <00b101c4b10a$66cd0cc0$3702a8c0@stouen.esds.com> To: References: <416C7873.9070602@t0x.net> <20041013014320.47616.qmail@pb1.pair.com> Date: Wed, 13 Oct 2004 11:52:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Re: [PATCH] new function stream_socket_create_pair From: six@t0x.net ("Vincent NEGRIER") > > the patch is here : http://si.kz/~six/stream_socket_create_pair_patch.tgz > > > To add to Wez's comments, I'd rather see it return an array of socket > streams (or FALSE on failure), rather than return true and tuck the streams > into a by-ref parameter. It would look simpler, but on the other hand it would break consistency with the behavior of socket_create_pair() and the sockpair() syscall ... If the above is not a problem for anyone i can rewrite it to return a streams array (or FALSE), without the byref param. regards, Vincent