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 Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 15 Jan 2004 00:30:48 -0500 (Eastern Standard Time) From: David Rosenbloom Reply-To: davidr AT ezmeeting DOT com To: cygwin AT cygwin DOT com Subject: sendmsg/recvmsg file descriptor passing Message-ID: X-X-Sender: davidr@[127.0.0.1] X-Spam-Status: No, hits=0.0 required=5.0 tests=USER_AGENT_PINE version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Sanitizer: Sigma Design/eZmeeting Mail Filter MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset="US-ASCII" I am unable to get sendmsg and recvmsg to successfully pass open file descriptors between processes. I am using the Stevens APUE sample as a template, the 4.3BSD version, since that matches the msghdr struct in cygwin/socket.h. I notice a bunch of postings in the archive indicating (a) that file descriptor passing was not supported at one time, and (b) that it may have been subsequently added - I can't tell from the threads. What is the current status of this? If implemented, does it have any caveats or conditions which differ from the BSD implementation? If not implemented for the passing of open file descriptors, is there an alternative approach (for two cygwin processes)? tia, - davidr -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/