Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <002401c1a3f4$0b77e8c0$010310ac@lyoncleitienne> From: "Christophe LEITIENNE" To: Subject: Descriptor passing between process Date: Wed, 23 Jan 2002 10:55:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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/