---
title: "CFMessagePortIsRemote(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfmessageportisremote(_:)"
---

# CFMessagePortIsRemote(_:)

Returns a Boolean value that indicates whether a CFMessagePort object represents a remote port.

## Declaration

```swift
func CFMessagePortIsRemote(_ ms: CFMessagePort!) -> Bool
```

## Parameters

- `ms`: The message port to examine.

## Return Value

Return Value true if ms is a remote port, otherwise false.

## See Also

### Examining a Message Port

- [CFMessagePortGetContext(_:_:)](corefoundation/cfmessageportgetcontext(_:_:).md)
- [CFMessagePortGetInvalidationCallBack(_:)](corefoundation/cfmessageportgetinvalidationcallback(_:).md)
- [CFMessagePortGetName(_:)](corefoundation/cfmessageportgetname(_:).md)
- [CFMessagePortIsValid(_:)](corefoundation/cfmessageportisvalid(_:).md)
