An opaque reference representing a CFNetService.
SDKs
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- CFNetwork
Declaration
typedef struct _ _CFNet Service *CFNetServiceRef;
An opaque reference representing a CFNetService.
SDKs
Framework
typedef struct _ _CFNet Service *CFNetServiceRef;
CFNet Service Browser Ref
An opaque reference representing a CFNetServiceBrowser.
CFNet Service Monitor Ref
An opaque reference for a service monitor.
CFNet Service Monitor Type
Record type specifier used to tell a service monitor the type of record changes to watch for.
CFNet Service Client Context
A structure provided when a CFNetService is associated with a callback function or when a CFNetServiceBrowser is created.
CFNet Services Error
Error codes that may be returned by CFNetServices functions or passed to CFNetServices callback functions.
CFNet Service Browser Invalidate
Invalidates an instance of a Network Service browser object.
CFNet Service Browser Schedule With Run Loop
Schedules a CFNetServiceBrowser on a run loop.
CFNet Service Browser Create
Creates an instance of a Network Service browser object.
CFNet Service Browser Get Type ID
Gets the Core Foundation type identifier for the Network Service browser object.
CFNet Service Browser Search For Domains
Searches for domains.
CFNet Service Browser Search For Services
Searches a domain for services of a specified type.
CFNet Service Browser Stop Search
Stops a search for domains or services.
CFNet Service Browser Unschedule From Run Loop
Unschedules a CFNetServiceBrowser from a run loop and mode.
CFNet Service Cancel
Cancels a service registration or a service resolution.
CFNet Service Create
Creates an instance of a Network Service object.
CFNet Service Create Copy
Creates a copy of a CFNetService object.
CFNet Service Create Dictionary With TXTData
Uses TXT record data to create a dictionary.
CFNet Service Create TXTData With Dictionary
Flattens a set of key/value pairs into a CFDataRef suitable for passing to CFNet
.
CFNet Service Get Addressing
Gets the IP addressing from a CFNetService.
CFNet Service Get Domain
Gets the domain from a CFNetService.
CFNet Service Get Name
Gets the name from a CFNetService.
CFNet Service Get Port Number
This function gets the port number from a CFNetService.
CFNet Service Get TXTData
Queries a network service for the contents of its TXT records.
CFNet Service Get Target Host
Queries a CFNetService for its target hosts.
CFNet Service Get Type
Gets the type from a CFNetService.
CFNet Service Get Type ID
Gets the Core Foundation type identifier for the Network Service object.
CFNet Service Monitor Create
Creates an instance of a NetServiceMonitor object that watches for record changes.
CFNet Service Monitor Get Type ID
Gets the Core Foundation type identifier for all CFNetServiceMonitor instances.
CFNet Service Monitor Invalidate
Invalidates an instance of a Network Service monitor object.
CFNet Service Monitor Schedule With Run Loop
Schedules a CFNetServiceMonitor on a run loop.
CFNet Service Monitor Start
Starts monitoring.
CFNet Service Monitor Stop
Stops a CFNetServiceMonitor.
CFNet Service Monitor Unschedule From Run Loop
Unschedules a CFNetServiceMonitor from a run loop.
CFNet Service Register With Options
Makes a CFNetService available on the network.
CFNet Service Resolve
This function updates the specified CFNetService with the IP address or addresses associated with the service. Call CFNet
to get the addresses.
CFNet Service Resolve With Timeout
Gets the IP address or addresses for a CFNetService.
CFNet Service Set Client
Associates a callback function with a CFNetService or disassociates a callback function from a CFNetService.
CFNet Service Set TXTData
Sets the TXT record for a CFNetService.
CFNet Service Unschedule From Run Loop
Unschedules a CFNetService from a run loop.
CFNet Service Schedule With Run Loop
Schedules a CFNetService on a run loop.