Simplifications and small improvements in the discovery code:

  • Redefined the singleton class static member as module-level
    static. Exactly the same but makes things simpler and clearer.
  • traverse() only wait for the end of the search window the first
    time. Further calls just list the current contents.
  • Unregister the libupnp callbacks in terminate().
  • Improve doc comments.

Jean-Francois Dockes Jean-Francois Dockes 2017-06-22

changed libupnpp/control/discovery.cxx
changed libupnpp/control/discovery.hxx
libupnpp/control/discovery.cxx Diff Switch to side-by-side view
Loading...
libupnpp/control/discovery.hxx Diff Switch to side-by-side view
Loading...