Instance Method

portForName:

Returns the NSPort object registered under a given name on the local host.

Declaration

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

Parameters

portName

The port name.

Return Value

The NSPort registered under portName on the local host Returns nil if a port named portName does not exist.

See Also

Getting Ports By Name

- portForName:host:

Returns the NSPort object registered under a given name on the local host.

Deprecated