public void listen() {
		ServerSocket server;
		try {
			server = new ServerSocket(port);
			while (true) {
				Socket conn = server.accept();
				if(type == 0){
					HourglassHandle hHandle = new HourglassHandle(conn);
					hHandle.run();
				}else{
					CheatingHandle nHandle = new CheatingHandle(conn);
					nHandle.run();
				}
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}