<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 12.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/nw_advertise_descriptor_t",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "c:@T@nw_advertise_descriptor_t"
  },
  "title" : "nw_advertise_descriptor_t"
}
-->

# nw_advertise_descriptor_t

A description used to advertise the Bonjour service that a listener provides.

```
typealias nw_advertise_descriptor_t = any OS_nw_advertise_descriptor
```

## Topics

### Advertising Bonjour Services

[`nw_advertise_descriptor_create_bonjour_service(_:_:_:)`](/documentation/Network/nw_advertise_descriptor_create_bonjour_service(_:_:_:))

Initializes a Bonjour service to advertise.

[`nw_advertise_descriptor_set_no_auto_rename(_:_:)`](/documentation/Network/nw_advertise_descriptor_set_no_auto_rename(_:_:))

Sets a Boolean to indicate whether the service prohibits automatic renaming in the event of a name conflict.

[`nw_advertise_descriptor_get_no_auto_rename(_:)`](/documentation/Network/nw_advertise_descriptor_get_no_auto_rename(_:))

Checks whether the service prohibits automatic renaming in the event of a name conflict.

### Configuring TXT Records

[`nw_advertise_descriptor_set_txt_record(_:_:_:)`](/documentation/Network/nw_advertise_descriptor_set_txt_record(_:_:_:))

Sets the TXT record as a raw buffer to advertise with the service.

[`nw_advertise_descriptor_set_txt_record_object(_:_:)`](/documentation/Network/nw_advertise_descriptor_set_txt_record_object(_:_:))

Sets the TXT record to advertise with the service.

[`nw_advertise_descriptor_copy_txt_record_object(_:)`](/documentation/Network/nw_advertise_descriptor_copy_txt_record_object(_:))

Accesses the TXT record to advertise with the service.



---

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)