Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com X-Authentication-Warning: atacama.four-d.de: mail set sender to using -f Date: Thu, 27 Feb 2003 16:24:10 +0100 (=?ISO-8859-1?Q?Westeurop=E4ische_Normalzeit?=) From: Thomas Pfaff To: cygwin-developers AT cygwin DOT com Subject: Re: Interruptable connect In-Reply-To: <20030226173429.GA22762@cygbert.vinschen.de> Message-ID: X-X-Sender: pfaff AT antarctica DOT intern DOT net MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 26 Feb 2003, Corinna Vinschen wrote: > On Wed, Feb 26, 2003 at 03:04:36PM +0100, Thomas Pfaff wrote: > > BTW, i see a really strange behaviour with select and getsockopt, it seems > > that SO_ERROR is set some time after the select is signaled. Here is a > > WIN32 test case : > > [...] > > The first call to getsockopt returns 0 in sock_error, the second will > > return 10061 as expected. > > > > This is on NT4 German, SP6 > > > > Can you duplicate this ? > > No, I can't. I'm running XP SP1. The first call to getsockopt(SO_ERROR) > already returns 10061 reproducibly. > > Seems to be a NT4 issue. Anybody here with W2K? > I have tested this on W2K, works ok. I will test on 98SE tonight. Thomas