Re: Does sendmsg only work on AF_UNIX sockets?
Re: Does sendmsg only work on AF_UNIX sockets?
- Subject: Re: Does sendmsg only work on AF_UNIX sockets?
- From: "Justin C. Walker" <email@hidden>
- Date: Tue, 11 Nov 2008 17:52:47 -0800
On Nov 11, 2008, at 12:22 , Dave Camp wrote:
My test code seems to bear this out, but I though I should ask
anyway before giving up... if I want to send a file descriptor to
another process via sendmsg(), will that only work over a unix
domain socket, or is there some way to get that to work over a local
AF_INET socket?
Or, is there some other way of getting a file descriptor from one
process to another that I should be looking at (one that doesn't
require write access to the file system)?
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?
Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------
_______________________________________________
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