Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>,
	<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <19990822155318.48750.qmail@hotmail.com>
X-Originating-IP: [151.13.75.158]
From: "Emanuele Aliberti" <ealiberti@hotmail.com>
To: khan@xraylith.wisc.EDU, crispen@hiwaay.net
Cc: cygwin@sourceware.cygnus.com
Subject: Re: fdopen() and winsock
Date: Sun, 22 Aug 1999 17:53:18 CEST
Mime-Version: 1.0
Content-Type: text/plain; format=flowed

>Ah, as far as I know, one of the big limitations of winsock is that
>the SOCKET type is *not* equivalent to file descriptor unlike that
>using BSD or POSIX sockets. That's one of the major reasons for using
>a separate data type, SOCKET, as opposed to int, typical type of a
>file descriptor. This implies that you cannot mix SOCKETs and stdio,
>sorry. This is the case when you use -mno-cygwin.

socket handles are NOT file handles only under win9x. Under WNT they ARE 
file handles.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

