diversario/node-ssdp

M-SEARCH is sent each adapter which has an ip?

ChriD opened this issue · 2 comments

ChriD commented

Hi,

When checking the SSDP messages when using the lib i am seeing that the M-SEARCH is done each adapter which has an IP? But the M-SEARCHES are completely the same. Why is this necessary? This will result in getting multiple responses for the same devices. Is this a Bug or is this as by design?
grafik

When i am deactivating the second adapter, only one M-SEARCH is beeing created and the devices only response once, what would be ok.

Older version of this lib was using the first NIC it would find. But, that wouldn't always work because sometimes the first adapter could be one that doesn't actually have real connectivity. So, now, it uses all interfaces.

ChriD commented

Okay, so it is by design