Re: sendmsg/recvmsg file descriptor passing

2004-01-15 Thread Brian Ford
On Thu, 15 Jan 2004, David Rosenbloom wrote: 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

Re: sendmsg/recvmsg file descriptor passing

2004-01-15 Thread David Rosenbloom
Thanks for the clarification - I missed that post, and was distracted by this earlier one, which induced optimism: http://sources.redhat.com/ml/cygwin/2002-06/msg00657.html So apparently that's that for file descriptor passing. Plz advise if there's another method that works in cygwin. - davidr

sendmsg/recvmsg file descriptor passing

2004-01-14 Thread David Rosenbloom
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