When kill is called you are actually schedulling the server to be killed in few milliseconds. There are certain cases where we need to assure the server was really killed. For that we have this simple ping we can use to verify if the server still alive or not.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.