What is Best Practice for checking a network connection?

You’ll probably want to check out this thread.