public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Chris Faylor <cgf@cygnus.com>
To: DJ Delorie <dj@delorie.com>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: Cygwin select + sockets from DLL
Date: Fri, 19 Nov 1999 10:49:00 -0000	[thread overview]
Message-ID: <19991119134946.B17821@cygnus.com> (raw)
In-Reply-To: <199911191624.LAA31377@envy.delorie.com>

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

WARNING: multiple messages have this Message-ID
From: Chris Faylor <cgf@cygnus.com>
To: DJ Delorie <dj@delorie.com>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: Cygwin select + sockets from DLL
Date: Tue, 30 Nov 1999 23:39:00 -0000	[thread overview]
Message-ID: <19991119134946.B17821@cygnus.com> (raw)
Message-ID: <19991130233900.4gniUv8pRCUFZCUQh0dkl41lZ-uHDwFangLWDtNF8I4@z> (raw)
In-Reply-To: <199911191624.LAA31377@envy.delorie.com>

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

  reply	other threads:[~1999-11-19 10:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-19  5:28 Earnie Boyd
1999-11-19  5:52 ` Cygnus - Admin
1999-11-19  8:21   ` Chris Faylor
1999-11-19  8:24     ` DJ Delorie
1999-11-19 10:49       ` Chris Faylor [this message]
1999-11-19 21:00         ` Unable to Type Lower Case e in the Bash Window Gus Baldauf
1999-11-30 23:39           ` Gus Baldauf
1999-11-30 23:39         ` Cygwin select + sockets from DLL Chris Faylor
1999-11-30 23:39       ` DJ Delorie
1999-11-30 23:39     ` Chris Faylor
1999-11-30 23:39   ` Cygnus - Admin
1999-11-30 23:39 ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
1999-11-19  4:23 Peter Hudson +44 1892 541 720
1999-11-30 23:39 ` Peter Hudson +44 1892 541 720

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19991119134946.B17821@cygnus.com \
    --to=cgf@cygnus.com \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=dj@delorie.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).