Overboard / discoverhue

Discovery of hue bridges per the Philips design guide.
MIT License
10 stars 1 forks source link

SSDP may utilize wrong interface #1

Closed Overboard closed 6 years ago

Overboard commented 6 years ago

SSDP may utilize wrong interface under Windows. The attempt to avoid issues caused by the SSDP Discovery service was to explicitly select an interface. However, this didn't take into account system configurations with more than one interface associated with the hostname.

We'll either need to iterate through all interfaces returned by socket.gethostbyname_ex() or perhaps revisit the Discovery service interference problem. See: https://github.com/Overboard/discoverhue/blob/63730d291b494849f370bb753394afdfbddd086f/discoverhue/ssdp.py#L50-L55