Re: DO over unnamed sockets

2010-10-23 Thread Dave Keck
> You can verify this by breaking on connect() or using dtruss or the like.   > It's actually getting ENOENT.  It appears be using getsockname() on the send > port's socket to figure out where to connect, and that's giving a sockaddr_un > with an empty sun_path. Moments after sending my original

Re: DO over unnamed sockets

2010-10-23 Thread Ken Thomases
On Oct 23, 2010, at 6:00 AM, Dave Keck wrote: > Can DO work over unnamed sockets? It appears not. I wasn't able to find a way to make your code work, either. My past experience and the Distributed Objects Programming Guide both suggest that NSConnection expects to work more like the case with

DO over unnamed sockets

2010-10-23 Thread Dave Keck
Hey list, I'm attempting to use distributed objects over an unnamed socket pair created via socketpair(). I've tried every permutation of the following code that I can think of, but it always throws an exception when the client calls -rootProxy: http://pastie.org/pastes/1242749 Can DO work o