New answers tagged sockets
Opening a connection performs a similar function to performing a ping. It will only succeed if you have connectivity. You will need to use an open port on each destination you wish to connect to. Port 80 may well be open. For faster response you will want to timeout failed connections fairly quickly.
Top 50 recent answers are included