NSPortNameServer — Mac OS X 10.0
This class is used by the distributed objects system to provide
port registration services for
NSConnection
objects. Instances of
NSPortNameServer
are obtained using the class
method systemDefaultPortNameServer
. Ports are
registered using the method registerPort:name
:,
and unregistered with removePortForName
:. To
locate a port, invoke portForName
: or
portForName:host
:; the former is used to locate
ports on the local host, while the latter is used to locate ports
over a network.