Cygwin select + sockets from DLL

Chris Faylor cgf@cygnus.com
Fri Nov 19 10:49:00 GMT 1999


On Fri, Nov 19, 1999 at 11:24:03AM -0500, DJ Delorie wrote:
>>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.
>
>Will the cygwin_attach_handle_to_fd() function help?

Probably.  Then we'd be on to the next problem...

It's a valid suggestion, though.

-- 
cgf@cygnus.com
http://www.cygnus.com/

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



More information about the Cygwin mailing list