Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <3868B0F4.5A30FC9B@ibm.net> Date: Tue, 28 Dec 1999 07:45:40 -0500 From: John Fortin X-Sender: "John Fortin" <@smtp-gw01.ny.us.ibm.net> (Unverified) X-Mailer: Mozilla 4.61 [en]C-gatewaynet (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "cygwin AT sourceware DOT cygnus DOT com" Subject: Re: filedescriptors and sockets References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit If you use -mno-cygwin, you "lose" the cygwin select() which handles file descriptors in the unix way. You end up with the windows version of select() which only handles socket descriptors. John 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 ? > > stefan. > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com