delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/27/13:59:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <B5C8477C6CD8D2118B970008C79F9838E657E1@es01-fra.bmc.com>
From: "Goeritz, Stefan" <Stefan_Goeritz AT bmc DOT com>
To: "'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com>
Subject: Using select() with a non cygwin DLL
Date: Mon, 27 Nov 2000 12:37:06 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)


> Hello everybody,
>
> I am trying to integrate my own (cygwin) program into an application that
> provides a DLL that contains a function
> returning a socket file descriptor that my own program is supposed to
> select on.
> When my cygwin program tries to select on  this descriptor, select()
> always returns with (-1).
> My program is built with cygwin 1.1.5 on NT4.0/sp4 and  linked with
> -lwsock32 which
> contains the select() call.
>
> I am assuming that there are different namespaces for sockets in the app
> that I intergrate
> in and my own program, is that right ? Can I somehow bring this scenario
> to work ?
> Do I have to use one of the functions cygwin_attach_handle_to_fd to
> convert the socket FD
> that I get from the application into the cygwin namespace ? Does anyone
> has experience with that,
> I was not able to find more documentation on this funtion that explains
> the function
> parameters in detail.
>
> I would appreciate any comment or help on this, I am trying to solve this
> for a longer
> time already ...
>
>
> Tschau
>
>
> Stefan Goeritz.
>
>
>

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019