<!--
{
  "documentType" : "article",
  "framework" : "CFNetwork",
  "identifier" : "/documentation/CFNetwork/cfnetwork-data-types",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "CFNetwork Data Types"
}
-->

# CFNetwork Data Types

Callback types for various network services.

## Topics

### Data Types

[`typealias CFHostClientCallBack`](/documentation/CFNetwork/CFHostClientCallBack)

Defines a pointer to the callback function that is called when an asynchronous resolution of a CFHost completes or an error occurs for an asynchronous CFHost resolution.

[`typealias CFNetServiceBrowserClientCallBack`](/documentation/CFNetwork/CFNetServiceBrowserClientCallBack)

Defines a pointer to the callback function for a CFNetServiceBrowser.

[`typealias CFNetServiceClientCallBack`](/documentation/CFNetwork/CFNetServiceClientCallBack)

Defines a pointer to the callback function for a CFNetService.

[`typealias CFNetServiceMonitorClientCallBack`](/documentation/CFNetwork/CFNetServiceMonitorClientCallBack)

Defines a pointer to the callback function that is to be called when a monitored record type changes.

[`typealias CFNetDiagnosticStatus`](/documentation/CFNetwork/CFNetDiagnosticStatus)

A CFIndex type that is used to return status values from `CFNetDiagnostic` status and diagnostic functions. For a list of possible values, see [`CFNetDiagnosticStatusValues`](/documentation/CFNetwork/CFNetDiagnosticStatusValues).



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)