Contents

portForName:

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

Declaration

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

Parameters

  • name:

    The name of the desired port.

Return Value

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

See Also

Looking up Ports