5kyc0d3r / upnpy

Lightweight UPnP client library for Python.
https://upnpy.readthedocs.io
MIT License
60 stars 18 forks source link

deal with multiple interfaces and tell which interface a SSDP device on #25

Open Rambin opened 3 weeks ago

Rambin commented 3 weeks ago

get all ip addresses with socket.gethostbyname_ex and send SSDP request on every interface
add local address to SSDP device determined on each interface