mjansson / mdns

Public domain mDNS/DNS-SD library in C
The Unlicense
437 stars 117 forks source link

feat: add possibility to stop service announcement #51

Closed JeansHH closed 2 years ago

JeansHH commented 3 years ago

According to rfc6762 Section 10.1 a service can inform listeners that the ressouce will be removed by sending a multicast packet with ttl timeout 0.

mjansson commented 2 years ago

Would be nice if the function prototype with doc comments was added at the top of the file under the mdns_announce_multicast prototype to show it's part of the "public" facing API.

mjansson commented 2 years ago

And sorry for the delay, have been semi afk during summer vacations

mjansson commented 2 years ago

Thank you for the added feature, looks good