Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31245 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94354 invoked by uid 1010); 24 Jul 2007 23:07:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94338 invoked from network); 24 Jul 2007 23:07:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2007 23:07:34 -0000 Authentication-Results: pb1.pair.com header.from=nicobn@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=nicobn@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.166.179 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: nicobn@gmail.com X-Host-Fingerprint: 64.233.166.179 py-out-1112.google.com Received: from [64.233.166.179] ([64.233.166.179:45240] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8B/C4-14257-33686A64 for ; Tue, 24 Jul 2007 19:07:32 -0400 Received: by py-out-1112.google.com with SMTP id f31so29048pyh for ; Tue, 24 Jul 2007 16:07:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=CraSwkUHDXT2IoO1s5GaM3OR8yxv1sfLykryXjYmmVqmEKmsbnD0YstVvoz3KBIyTQk8/EHJd5lRAXeaeXNGEg2UZwNjrYquWaaeJ6Is7iMC0cQpmYY48NOEAyK242f0Um+7l+xgNL+wYKAUCkpnL+ial5DhIRTHY5+ISFdnDmI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=SukVgyO7mpWPPXDnO8ps9QeUjqXAgWqJ0FR6ans2eNr43h2iRf/sZqY0dcFHtQboODJdXbbvW/R/uE24Y3bmVJvb36CHN87IbkLHI5hZpo0RusEcOy6Dd5evhPAr+/5TbvSDd94vcfcXyTIhubQHt5yWUHDqkjyNwUUH0DNPXFo= Received: by 10.65.219.1 with SMTP id w1mr27009qbq.1185316989583; Tue, 24 Jul 2007 15:43:09 -0700 (PDT) Received: by 10.65.224.13 with HTTP; Tue, 24 Jul 2007 15:43:09 -0700 (PDT) Message-ID: <30bd80240707241543m26cf5e9ai4cccd9e0981d5f44@mail.gmail.com> Date: Tue, 24 Jul 2007 18:43:09 -0400 Sender: nicobn@gmail.com To: jani.taskinen@iki.fi Cc: "internals Mailing List" In-Reply-To: <1185276998.3354.12.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_170336_16952590.1185316989532" References: <30bd80240707211052i6a32223aw5d34feeb5a53a8e6@mail.gmail.com> <1185276998.3354.12.camel@localhost.localdomain> X-Google-Sender-Auth: 74fea73d97ae225f Subject: Re: [PHP-DEV] Socket constants From: nicobn@php.net ("=?ISO-8859-1?Q?Nicolas_B=E9rard-Nault?=") ------=_Part_170336_16952590.1185316989532 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thank you ! On 7/24/07, Jani Taskinen wrote: > > Addded. They will be available if the underlying system defines them. > (And MSG_EOF is MSG_FIN on some systems..) > > --Jani > > > On Sat, 2007-07-21 at 13:52 -0400, Nicolas B=E9rard-Nault wrote: > > Is there a reason the MSG_EOR and MSG_EOF constants are not registered > in > > PHP ? If not, could someone apply the attached patch (against HEAD). > > > > Regards, > > Nicolas. > > > > Patch below: > > > > Index: sockets.c > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > RCS file: /repository/php-src/ext/sockets/sockets.c,v > > retrieving revision 1.190 > > diff -r1.190 sockets.c > > 471a472,473 > > > REGISTER_LONG_CONSTANT("MSG_EOR", > > MSG_EOR, CONST_CS | CONST_PERSISTENT); > > > REGISTER_LONG_CONSTANT("MSG_EOF", > > MSG_EOF, CONST_CS | CONST_PERSISTENT); > > > > > > --=20 Nicolas B=E9rard-Nault (nicobn@gmail.com) =C9tudiant D.E.C. Sciences, Lettres & Arts C=E9gep de Sherbrooke Homepage: http://nicobn.googlepages.com ------=_Part_170336_16952590.1185316989532--