// checks to see if the server is connected. public static bool IsConnected() { return(client.IsConnected()); }