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: Cygwin select + sockets from DLL


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


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