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 2 months ago

Rambin commented 2 months 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