public TCPGameLink(Frame parent) {
		this.parent = parent;
		try {
			server = new ServerSocket(PORTNO);
			new ModalDialog(parent, "Server startup succeeded!", "Game Link server running", "A client can now connect.");
			Thread t = new Thread(this);
			t.start();
			serverRunning = true;
		} catch (Exception e) {
			new ModalDialog(parent, "Server startup failed", "Cannot start server on port " + PORTNO,
					"Check that the port is not in use.");
		}
	}