Contents

CFNetServiceGetDomain(_:)

Gets the domain from a CFNetService.

Declaration

func CFNetServiceGetDomain(_ theService: CFNetService) -> Unmanaged<CFString>

Parameters

  • theService:

    The CFNetService whose domain is to be obtained; cannot be NULL.

Return Value

A CFString object containing the domain of the CFNetService.

Discussion

This function gets the domain from a CFNetService.

Special Considerations

This function is thread safe. The function gets the data in a thread-safe way, but the data is not safe if the service is altered from another thread.

See Also

Network Services