upnp: search in a separate thread
pf_open from service_discovery shouldn't block but UpnpSearchAsync can take more than one seconds. Indeed, contrary to what the libupnp doc states, UpnpSearchAsync is blocking (select() and send() are called). This is not a perfect solution. Indeed if pf_close is called just after pf_open, it will also block.
Showing
Please register or sign in to comment