Re: How to get the list of registered DO names
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.