delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/28/10:47:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Tue, 28 Dec 1999 10:47:39 -0500
From: Christopher Faylor <cygwin AT sourceware DOT cygnus DOT com>
To: stefan <stefan AT linux DOT f1 DOT fhtw-berlin DOT de>
Cc: Christopher Faylor <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: filedescriptors and sockets
Message-ID: <19991228104739.A10377@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: stefan <stefan AT linux DOT f1 DOT fhtw-berlin DOT de>,
Christopher Faylor <cygwin AT sourceware DOT cygnus DOT com>
References: <19991227152919 DOT A25954 AT cygnus DOT com> <Pine DOT LNX DOT 4 DOT 10 DOT 9912281249160 DOT 327-100000 AT bono DOT reversers DOT net>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <Pine.LNX.4.10.9912281249160.327-100000@bono.reversers.net>; from stefan@linux.f1.fhtw-berlin.de on Tue, Dec 28, 1999 at 12:51:24PM +0100

On Tue, Dec 28, 1999 at 12:51:24PM +0100, stefan wrote:
>On Mon, 27 Dec 1999, Christopher Faylor wrote:
>>Cygwin does not make a distinction between sockets and normal file
>>descriptors.  It's should work just like UNIX.
>
>I compiled the program with the -mno-cygwin option.  And there the
>select() statement return an error if there are "normal"
>filedescriptors (from a _pipe()) in the field.  Why is this ?

In the above sentence "Cygwin" is meant to imply that you are actually
*using* Cygwin.  You are not, of course, using Cygwin if you specify
the -mno-cygwin option.

Normal Windows (i.e., what you're accessing when you specify
-mno-cygwin) does not provide a select() that can use pipe "file
descriptors", AFAIK.

-Christopher Faylor
-Cygwin Engineering Manager
-Cygnus Solutions

--
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