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.

Close

API to send NOTIFY bye-bye

Help
2013-08-09
2013-08-13
  • Vivek Maran
    Vivek Maran
    2013-08-09

    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 ?

     
  • Tieske
    Tieske
    2013-08-13

    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?