huin / goupnp

UPnP client library for Go (#golang)
BSD 2-Clause "Simplified" License
424 stars 85 forks source link

Show devices connected to discovered UPnP enabled device. #29

Closed siredwin closed 5 years ago

siredwin commented 5 years ago

I am wondering if this is beyond the scope of this project. I want to show devices connected to my UPnP router in the subnet.

I have been reading the godocs but I can't seem to figure this out

huin commented 5 years ago

Do you mean devices using the router for their connection to the internet?

If so - I haven't looked at the SOAP methods provided by UPnP services for internet gateways, but I don't recall a service that provides such a capability.

I could have missed such a thing, however. I suggest checking the standards docs to see if they talk about such things:

siredwin commented 5 years ago

Ok. This can be solved by looking at device leases file.