Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
As per my understanding, libupnp takes care to broadcast NOTIFY bye-bye message whenver the device instance is unregistered using the API UpnpUnRegisterRootDevice. The questions here is
Is there an API to send explicit NOTIFY bye-bye ?
I don't think there is. The code is there surely, but not in the API (only did a quick check).
Why would you want to do so? shutting the device down will send it. And if you intent to change anything on the device, you should close all client connections and re-advertise. Easiest way to do that; unregister and reregister the modified device.
or am I missing something?