Something
public text v1 · immutable public void quit()
{
out.println("QUIT :JavaBot2 by Kyle Smith");
try {
socket.shutdownInput();
socket.shutdownOutput();
socket.close();
} catch (IOException ex) {
System.out.println("Unable to close socket.");
}
System.out.println("Socket closed. Socket status: " + socket.isConnected());
}