title: How to check if a server is online?
body: <p>I am making some sort of client-server connection. The client can connect to multiple servers, and therefore needs to know if that server is online. Instead of first entering all the login information, I want a JLabel to show that the server is online, or not. How do I check this, without making a real connection to the server?</p>