• 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: How to get the list of registered DO names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get the list of registered DO names


  • Subject: Re: How to get the list of registered DO names
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 4 Mar 2002 10:09:05 -0800

On Monday, March 4, 2002, at 09:26 AM, Philippe Mougin wrote:

Using NSConnection methods "registerName:" it is possible to register an
NSConnection under a public name on the local host name server.

My question is: How do I get the list of all such registered NSConnection
names on the local host ?

There is no official way to do so, but for debugging purposes you can use bootstrap_info() from servers/bootstrap.h to get a list of all registrations in the current bootstrap subset, which should include names registered with the bootstrap server by an NSPortNameServer that uses the bootstrap server. Keep in mind that different processes may have access to different bootstrap subsets; specifically, descendants of loginwindow use a different subset than other processes such as daemons and processes started from remote shells.

Douglas Davidson
_______________________________________________
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.

References: 
 >How to get the list of registered DO names (From: "Philippe Mougin" <email@hidden>)

  • Prev by Date: Re: Key Binding Dictionary
  • Next by Date: Re: Localization testing
  • Previous by thread: How to get the list of registered DO names
  • Next by thread: NSView mouse events
  • Index(es):
    • Date
    • Thread