Type Alias

nw_listener_advertised_endpoint_changed_handler_t

A handler that indicates changes to the service endpoints being advertised as they are added and removed.

Declaration

typedef void (^nw_listener_advertised_endpoint_changed_handler_t)(nw_endpoint_t advertised_endpoint, bool added);

See Also

Advertising Bonjour Services

nw_listener_set_advertise_descriptor

Sets a Bonjour service that advertises the listener on the local network.

nw_advertise_descriptor_t

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

nw_listener_set_advertised_endpoint_changed_handler

Sets a handler that receives updates for the service endpoint being advertised.