Skip navigation.
 
mlRe: Why is Leopard annoying my users?
FROM : Alastair Houghton
DATE : Tue Nov 20 19:58:17 2007

On 20 Nov 2007, at 18:35, James Bucanek <<email_removed>> 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

Related mailsAuthorDate
mlWhy is Leopard annoying my users? James Bucanek Nov 20, 01:34
mlRe: Why is Leopard annoying my users? Dave Camp Nov 20, 01:52
mlRe: Why is Leopard annoying my users? Bill Cheeseman Nov 20, 14:18
mlRe: Why is Leopard annoying my users? Alastair Houghton Nov 20, 14:48
mlRe: Why is Leopard annoying my users? Nir Soffer Nov 20, 14:51
mlRe: Why is Leopard annoying my users? Derek Chesterfield Nov 20, 15:11
mlRe: Why is Leopard annoying my users? James Bucanek Nov 20, 16:52
mlRe: Why is Leopard annoying my users? Alastair Houghton Nov 20, 17:12
mlRe: Why is Leopard annoying my users? James Bucanek Nov 20, 19:06
mlRe: Why is Leopard annoying my users? Alastair Houghton Nov 20, 19:09
mlRe: Why is Leopard annoying my users? James Bucanek Nov 20, 19:35
mlRe: Why is Leopard annoying my users? Alastair Houghton Nov 20, 19:58