Instance Method

portForName:

Looks up and returns the port registered under the specified name on the local host.

Declaration

- (NSPort *)portForName:(NSString *)name;

Parameters

portName

The name of the desired port.

Return Value

The port associated with portName on the local host. Returns nil if no such port exists.

Discussion

Invokes portForName:host: with nil as the host name.

See Also

Looking up Ports

- portForName:host:

Looks up and returns the port registered under the specified name on a specified host.

Deprecated