Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does sendmsg only work on AF_UNIX sockets?



On Nov 12, 2008, at 2:10 AM, Quinn wrote:

At 17:52 -0800 11/11/08, Justin C. Walker wrote:
Just following up, after Josh's reply: I don't understand the bit about write access. I don't think there's a priori a requirement to write something. Can you explain a bit more?

If there's no parent/child relationship between the two processes, the only way to create a UNIX domain socket connection between them is by one process creating a listening socket. That requires write access to some part of the file system, no?

Just to confirm, that was the source of my question... I've got two unrelated processes (not a parent/child relationship), neither can write to a common part of the file system and I want to pass a file descriptor from one to the other. My research was showing there wasn't a way to do it, but I thought I'd ask anyway.


Thanks,
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >Does sendmsg only work on AF_UNIX sockets? (From: Dave Camp <email@hidden>)
 >Re: Does sendmsg only work on AF_UNIX sockets? (From: "Justin C. Walker" <email@hidden>)
 >Re: Does sendmsg only work on AF_UNIX sockets? (From: Quinn <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.