int WINDOWS_getPingFromToken(String answer){
		  StringTokenizer tokenizer = new StringTokenizer(answer);
		  Integer pingTime = new Integer(0);
		  
		  String token = "0";
		
		  if(answer.contains("host unreachable") || answer.contains("timed out")){
				token = "0";
			}else{
				do{
					token = tokenizer.nextToken();
				  }while(!token.contains("Average"));
				  
				  token = tokenizer.nextToken();
				  token = tokenizer.nextToken();
				  
				  if(token.endsWith("ms")){
					  token = token.substring(0, token.length()-2);
				  }
			}
	  
		 pingTime = Integer.parseInt(token);
		  
		  return pingTime;
		  
	  }