• 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
Closing an NSConnection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Closing an NSConnection


  • Subject: Closing an NSConnection
  • From: Joe Lester <email@hidden>
  • Date: Tue, 9 Jul 2002 16:47:40 -0500

This seems like it should be trivial but...

How does one go about closing (or removing the name registration for) an NSConnection?

In my " Server" program, when a document opens, it establishes an NSConnection to expose it's primary data source. This part works fine, and the clients can see it.

My problem is that when I close my document and open another one, it does not allow me to register its connection under the same name like this:

[connection registerName:@"serverName"];

It almost seems like the old connection is still open even though I am releasing it when the document closes.

Any ideas?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Are NSScanners deprecated?
  • Next by Date: New NSImage from multiple NSImages
  • Previous by thread: NSTextStorage and Insertion Point - repost
  • Next by thread: New NSImage from multiple NSImages
  • Index(es):
    • Date
    • Thread