• Thomas Guillem's avatar
    upnp: search in a separate thread · ccd6ba5d
    Thomas Guillem authored
    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.
    ccd6ba5d
upnp.cpp 37.4 KB