I would expect at some point it to throw an error or timeout or something. It never does. The only time this code will exit is when something becomes available at the IP address. And then, the thread will exit.
Is there a way around this?
In full framework the try will result in a catch of “Target Machine Actively Refused Connection”, nothing comes of it on NETMF
I believe I waited well past that mark, but I will double-check tonight. I’ll also check with a completely invalid IP on my network and see if it’s only on active refusal or non-existence as well.