• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does sendmsg only work on AF_UNIX sockets?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does sendmsg only work on AF_UNIX sockets?


  • Subject: Re: Does sendmsg only work on AF_UNIX sockets?
  • From: Dave Camp <email@hidden>
  • Date: Wed, 12 Nov 2008 15:48:35 -0800

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Does sendmsg only work on AF_UNIX sockets?
      • From: james woodyatt <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>)

  • Prev by Date: Re: Possible leak from NSURLConnection sendSynchronousRequest on iPhone
  • Next by Date: Re: Does sendmsg only work on AF_UNIX sockets?
  • Previous by thread: Re: Does sendmsg only work on AF_UNIX sockets?
  • Next by thread: Re: Does sendmsg only work on AF_UNIX sockets?
  • Index(es):
    • Date
    • Thread