This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: filedescriptors and sockets


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@sourceware.cygnus.com

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]