filedescriptors and sockets

John Fortin fortinj@ibm.net
Fri Dec 31 13:28:00 GMT 1999


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



More information about the Cygwin mailing list