7/15/08 8:48 AM, also sprach [EMAIL PROTECTED]:

> NSMessagePort doesn't seem to post the
> NSPortDidBecomeInvalidNotification notification when the remote port
> dies. It doesn't seem to matter if the remote port is closed via the
> invalidate method or by killing the process. The only way I am seeing
> the notification posted is when I send invalidate to the port locally.
> 
> This seems contrary to the documentation:
> 
> "Posted from the invalidate method, which is invoked when the NSPort
> is deallocated or when it notices that its communication channel has
> been damaged."
> 
> Is this a legit bug or have I missed something?

Are you using Distributed Objects? If not, my recollection is that you
should be using NSMachPort instead. If you are using DO, I think Do is
supposed to handle those types of communication issues.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to