public ClientConnect(String host, int port, MainFrame mf)
	{
		try {
			socket = new Socket(host,port);
			in = new StrategoInputStream(socket.getInputStream());
			out = new StrategoOutputStream(socket);
			this.mf = mf;
			cc = mf.getCC();
			gc = mf.getGC();
			board = mf.getBoard();
			nb = board.getBoard();
			C1PlayerName cp = new C1PlayerName(cc.getPName().getBytes());
			out.send(cp);
			connected = true;
		} catch (UnknownHostException e) {
			connected = false;
			System.out.println("bad host!");
		} catch (Exception e) {
			connected = false;
			System.out.println("Connection Error");
		}
	}