"EnTerr" wrote:
Why don't you do the simple experiment of printing all results (foreach), instead of the 1st only? That may shed some light.
It gives me the primary network IP and the two IP addresses for the VMWare network adapters, so perhaps it is luck. Incidentally, that particular line of code also came from the same stackoverflow thread (see the last post in that thread).
"EnTerr" wrote:
He cannot reproduce your unique circumstances (i.e. make P-B not discover) and just staring at the code so far did not lead to agreement.
What it did lead to is pinpointing that the issue is with identifying the correct network interface to use. Whether the method I'm using is the ideal way or not, it appears not, but it
is WOMM certified...
😛"EnTerr" wrote:
Let's not forget P-B is a gift horse though, shan't stare too long in its UPnP mouth.
It is indeed.. and I acknowledged that with my thanks in my first post. As a developer myself, when I release a utility to the community, I typically like to hear real world feedback. I was not complaining about the discovery not working, but rather identifying it as a potential issue and trying to help resolve it.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)