Instance Method

removePortForName:

Unregisters the port for a given name on the local host.

Declaration

- (BOOL)removePortForName:(NSString *)name;

Parameters

portName

The name of the port to unregister.

Return Value

YES if successful, otherwise NO.

Discussion

If the operation is successful, the port can no longer be looked up using the name portName. Other applications that already have a reference to the port can continue to use it until it becomes invalid.

See Also

Registering Ports

- registerPort:name:

Makes a given port available on the network under a specified name.

Deprecated