delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/26/12:23:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <39F8595A.B37B03F4@ece.gatech.edu>
Date: Thu, 26 Oct 2000 12:18:34 -0400
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Swanson <Mark DOT Swanson AT techspan DOT com>
CC: cygwin AT sources DOT redhat DOT com
Subject: Re: Bug report: with CVS
References: <20001023142004 DOT 17298 DOT qmail AT web122 DOT yahoomail DOT com> <39F454C8 DOT 14003F89 AT techspan DOT com> <39F71352 DOT 5847F251 AT ece DOT gatech DOT edu> <39F75794 DOT 5185485D AT techspan DOT com>

Mark Swanson wrote:
> 
> Here's some additional info: perhaps you can make sense of the strace
> output?
> 

Well, the strace output didn't seem any more informative to me that the
original error message.  But, Corinna just checked in a fix that may
affect this problem -- why don't you try tonight's snapshot of
cygwin1.dll...

> For some reason there are systems (mostly 9x/ME, seldom NT) which flawed
> to duplicate a socket so that the duplicated socket isn't usable in
> further socket function calls. All those functions will then return
> WSAENOTSOCK.

"seldom NT" -- but not "never".  Perhaps this is the problem on your
machine...

> Anyway, the good news is, there's a way to work around that flaw.
> I'm now using special Winsock2 functions (WSADuplicateSocket/WSASocket)
> to duplicate the socket to the child process which is the recommended
> way for sharing sockets on Windows platforms.
[snip]
> Ok, I have just checked in the patch so it's accessible via CVS
> already or it will be in the next developers snapshot.

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019