Contents

CFMessagePortSetName(_:_:)

Sets the name of a local CFMessagePort object.

Declaration

func CFMessagePortSetName(_ ms: CFMessagePort!, _ newName: CFString!) -> Bool

Parameters

  • ms:

    The local message port to examine.

  • newName:

    The new name for ms.

Return Value

true if the name change succeeds, otherwise false.

Discussion

Other threads and processes can connect to a named message port with CFMessagePortCreateRemote(_:_:).

See Also

Configuring a CFMessagePort Object