www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/19/11:22:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Fri, 19 Nov 1999 11:21:41 -0500
To: Cygnus - Admin <cygnus AT ncohafmuta DOT com>
Cc: Earnie Boyd <earnie_boyd AT yahoo DOT com>,
Peter Hudson +44 1892 541 720 <peter AT telnet-research DOT co DOT uk>,
cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Cygwin select + sockets from DLL
Message-ID: <19991119112141.A17177@cygnus.com>
Mail-Followup-To: Cygnus - Admin <cygnus AT ncohafmuta DOT com>,
Earnie Boyd <earnie_boyd AT yahoo DOT com>,
Peter Hudson +44 1892 541 720 <peter AT telnet-research DOT co DOT uk>,
cygwin AT sourceware DOT cygnus DOT com
References: <19991119132849 DOT 24917 DOT rocketmail AT web111 DOT yahoomail DOT com> <Pine DOT LNX DOT 4 DOT 10 DOT 9911190839540 DOT 2116-100000 AT clipons DOT ncohafmuta DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <Pine.LNX.4.10.9911190839540.2116-100000@clipons.ncohafmuta.com>; from cygnus@ncohafmuta.com on Fri, Nov 19, 1999 at 08:50:33AM -0500

On Fri, Nov 19, 1999 at 08:50:33AM -0500, Cygnus - Admin wrote:
>On Fri, 19 Nov 1999, Earnie Boyd wrote:
>>Well, unless the third party software uses cygwin1.dll (which I doubt),
>>then based up the quoted comments you can't use the Cygwin select.  You
>>must use the Windows sockets.h header and function set.
>
>are you serious?  i can't use select() if i'm not gonna use the windows
>header files?

He's serious and he's correct.  cygwin fd's != "fd"'s returned by a winsock
socket operation.  You can't use raw winsock file handles in cygwin select.
Cygwin maintains its own table of file descriptors so you can't mix cygwin
functions with non-cygwin file descriptors.

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