public Listener(int p, ProcessManager mgr) {
		this.port = p;
		this.processManager = mgr;
		try {
			serverSocket = new ServerSocket(port);
		} catch (IOException e) {
			System.out.println("Could not listen on port " + port);
			System.exit(-1);
		}
	}