Contents

servicePortWithName:

Looks up and returns the port for the vended service that is registered under the specified name.

Declaration

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

Parameters

  • name:

    The name of the vended service.

Return Value

The port associated with name. Returns nil if no such port exists.

See Also

Looking up Ports