public static int extractIP ( String inputIP ){
		int accessIP=0;
		try
		{
		int index = inputIP.indexOf(".");
		accessIP = Integer.parseInt(inputIP.substring(0, index));
		}
		catch ( Exception e ) {e.printStackTrace();}
		return accessIP;
	}