This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Descriptor passing between process


Hi all,

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 recvmsg on a unix named pipe. This procedure seems to be well
knowned and works well on Linux and AIX.
I didn't found anything interesting about it in the mailing list archives,
except someone who started to port this API to Cygwin some time ago, without
any further informations.

am I doing something wrong ?
Will this API be ported to Cygwin in a near future ?
Is there a way to pass descriptors between process in an other way with
Cygwin ?
Is it possible to simulate this using the win32 DuplicateHandle and
cygwin_attach_handle_to_fd (and probably with cygwin_attach_fd_to_handle
which does not exists) ?

Thanks for your help,

Christophe LEITIENNE (FRANCE)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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