I'm working on a way to pass file descriptors between processes.
I've already got it functioning by using writes to pass the
file handle (using get_osfhandle) and the current processId using
GetCurrentProcessId
the receiving side then calls Duplicate Handle to create the handle. Then
I do a cyg
===
- Original Message -
From: "egor duda" <[EMAIL PROTECTED]>
To: "Corinna Vinschen" <[EMAIL PROTECTED]>
Sent: Friday, January 25, 2002 3:18 AM
Subject: Re: Descriptor passing between process
> Hi!
>
> Thursday, 24 January, 2002 Corinna Vin
On Thu, Jan 24, 2002 at 07:18:13PM +0300, Egor Duda wrote:
> Hi!
>
> Thursday, 24 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote:
>
> CV> It *could* be implemented.
>
> CV> First we would have to implement the control message passing at all and
> CV> when it's available we could perhaps
Hi!
Thursday, 24 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote:
CV> It *could* be implemented.
CV> First we would have to implement the control message passing at all and
CV> when it's available we could perhaps even implement descriptor passing
CV> using the DuplicateHandle() function
On Thu, Jan 24, 2002 at 04:38:40PM +0100, Corinna Vinschen wrote:
> On Thu, Jan 24, 2002 at 04:45:13PM +0300, Egor Duda wrote:
> > Hi!
> >
> > Thursday, 24 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote:
> >
> > CV> On Thu, Jan 24, 2002 at 04:14:20PM +0300, Egor Duda wrote:
> > >> CV> It
On Thu, Jan 24, 2002 at 04:45:13PM +0300, Egor Duda wrote:
> Hi!
>
> Thursday, 24 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote:
>
> CV> On Thu, Jan 24, 2002 at 04:14:20PM +0300, Egor Duda wrote:
> >> CV> It's part of the API since 1.3.8-1.
> >>
> >> Hmm. What change are you referring
On Thu, Jan 24, 2002 at 03:17:23PM +0100, Christophe LEITIENNE wrote:
> I found a piece of code that doesn't use all this stuff. Could it work (I
> haven't tried yet) ?
>
> int sendfd(sockfd, fd)
> int sockfd; /* UNIX domain socket to pass descriptor on */
> int fd; /* the actual fd value to pa
Hi all,
> yes, but if i understand things correctly, Christophe was talking
> about passing file descriptors between processes by means of AF_UNIX
> sockets. btw, "Subject:" implies this :).
>
> this is done on unices via msg_control (or msg_accrights) field in msg
> structure. and unices ensure
Hi!
Thursday, 24 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote:
CV> On Thu, Jan 24, 2002 at 04:14:20PM +0300, Egor Duda wrote:
>> CV> It's part of the API since 1.3.8-1.
>>
>> Hmm. What change are you referring to? I don't see anything like this
>> in the ChangeLog.
CV> 2002-01-19 Ma
On Thu, Jan 24, 2002 at 04:14:20PM +0300, Egor Duda wrote:
> CV> It's part of the API since 1.3.8-1.
>
> Hmm. What change are you referring to? I don't see anything like this
> in the ChangeLog.
2002-01-19 Mark Bradshaw <[EMAIL PROTECTED]>
* cygwin.din: Add recvmsg and sendmsg.
Hi!
Wednesday, 23 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote:
CV> On Wed, Jan 23, 2002 at 10:55:07AM +0100, Christophe LEITIENNE wrote:
>> I'm using Cygwin 1.3.8 on a Windows 2000 box.
>> I'm looking for a way to pass a socket descriptor between 2 process, using
>> sendmsg and recvms
11 matches
Mail list logo