Yortw / RSSDP

Really Simple Service Discovery Protocol - a 100% .Net implementation of the SSDP protocol for publishing custom/basic devices, and discovering all device types on a network.

Home Page:http://yortw.github.io/RSSDP/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeviceUnavailable callback never called

trzy opened this issue · comments

Hi,

I'm never seeing the DeviceUnavailable callback called under any circumstance (even long after a device has been turned off during a session). Is this a known issue?

I'm trying to think of a workaround and all I can think of are:

  1. Test each result (I'm looking for my own device, so I can attempt a connection and handshake to verify it is actually there).
  2. Call SearchAsync() repeatedly in a loop and each time, assemble a new set of results to replace the old ones and manually detect devices that have dropped out.

Thanks,

Bart