Re: Why is Leopard annoying my users?
Re: Why is Leopard annoying my users?
- Subject: Re: Why is Leopard annoying my users?
- From: Alastair Houghton <email@hidden>
- Date: Tue, 20 Nov 2007 18:58:17 +0000
On 20 Nov 2007, at 18:35, James Bucanek <email@hidden> wrote:
Well, that's what I thought too. I'm pretty sure that I've use the
same Mach port for both send/receive and I would have assumed that
you could use the same UNIX socket for both send and receive.
Well Mach ports are a bit different to a socket, because they're just
endpoint names (like TCP/IP ports) rather than connection identifiers.
So it clearly wouldn't work with Mach ports.
(I thought that from each end/process that a socket appears as a
bidirectional pipe -- but maybe I'm wrong. It's actually been a very
long time since I used UNIX sockets directly.)
Yes, that's right. A UNIX socket is just like a named bidirectional
pipe.
That's why I thought it might work with the same port on both positions.
Kind regards,
Alastair
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden