@Override
	public void run() {

		while (serverIsRaning) {
			try {
				clientSocket = socket.accept();
				
				ClientList.add(new Client(clientSocket));
				Frame.println("Client connected.");
			} catch (Exception e) {
				serverIsRaning = false;
				e.printStackTrace();

			}

		}

	}