public void run() {
		while (canRun) {
			try {
				Socket socket = serverSocket.accept();
				Thread t = new Thread(new Dispatcher(socket, this));
				t.setDaemon(true);
				t.start();
			} catch (IOException e) {
				System.out.println(e.getMessage());
				e.printStackTrace();
			}
		}
	}