Detecting a closed socket?

BlitzMax Forums/BlitzMax Programming/Detecting a closed socket?

Well, I figured out how to get around it. I'm no networking expert (by far), but I don't see why the method I came across isn't part of BMax standard.

I'll post working code in a bit.