Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 5 Mar 2002 10:14:07 +0100
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: recv(..., MSG_PEEK) (was Re: fetchmail 5.9.8 and maildrop 1.3.7)
Message-ID: <20020305101407.N13590@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <20020302004512.A1936@LOKI> <20020302160332.GA1976@hp.com> <20020302221220.A4040@LOKI> <20020303024718.GB2116@hp.com> <20020303155818.A3120@LOKI> <20020304155650.GA1424@hp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20020304155650.GA1424@hp.com>
User-Agent: Mutt/1.3.22.1i

On Mon, Mar 04, 2002 at 10:56:50AM -0500, Jason Tishler wrote:
> Corinna,
> 
> On Sun, Mar 03, 2002 at 03:58:18PM +0000, Rui Carmo wrote:
> > On Sat, Mar 02, 2002 at 09:47:19PM -0500, Jason Tishler wrote:
> > > > I was under the impression that recv() bugs had been twiddled in
> > > > 1.3.10... Or did the changes in recv() not address MSG_PEEK?
> > > 
> > > Hmm, I will look into this.  It would be great if my patch just became
> > > obsolete.
> > 
> > The release notes (post by Cristopher:
> > http://sources.redhat.com/ml/cygwin/2002-02/msg01350.html) mention recv()
> > explicitly:
> > 
> > > - Implement socket read/write using recv/send. (corinna)
> > 
> > Bit vague, though, so I don't know if Corinna tackled the MSG_PEEK
> > issue.
> 
> Could you comment as to whether or not the above changes would have any
> positive affects on the following?
> 
>     http://sources.redhat.com/ml/cygwin/2001-08/msg00628.html

No.  The above change is sort of a code cleanup.  I don't know how
we could workaround that Winsock problem in Cygwin.  It doesn't know
from where you got the `n' parameter and it's perfectly legal for
a read() call to return a number of bytes < n.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

