Function

nw_advertise_descriptor_create_bonjour_service

Initializes a Bonjour service to advertise.

Declaration

nw_advertise_descriptor_t nw_advertise_descriptor_create_bonjour_service(const char *name, const char *type, const char *domain);

Discussion

Advertised services are primarily defined by their types. If you do not specify a service name, the device name will be chosen. You should not specify a Bonjour domain unless you know you need to advertise only on a particular domain.

See Also

Advertising Bonjour Services

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

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