• 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: Why is Leopard annoying my users?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Why is Leopard annoying my users? (From: James Bucanek <email@hidden>)

  • Prev by Date: Writing NSString to a file descriptor
  • Next by Date: Re: NSTreeController and NSTreeNode
  • Previous by thread: Re: Why is Leopard annoying my users?
  • Next by thread: Re: Why is Leopard annoying my users?
  • Index(es):
    • Date
    • Thread