public void run() {
		while (true) {
			ServerSocket serverSocket = null;
			try {
				serverSocket = new ServerSocket(7);
				Socket socket = null;
				System.out.println("Waiting for connection....");
				socket = serverSocket.accept();

				System.out.println("Connection successful");
				System.out.println("Waiting for input");

				out = new PrintWriter(socket.getOutputStream(), true);
				in = new BufferedReader(new InputStreamReader(socket
						.getInputStream()));
				socket.getInputStream();
				socket.getInetAddress().getHostAddress();
				String inputLine = in.readLine();
				handleClient(inputLine);
				in.close();
				socket.close();
				serverSocket.close();
			} catch (Exception e) {

			}
		}
	}