private void connectServer() {
		if (roRef == null) {
			throw new RuntimeException("Remote ref not attached");
		}

		try {
			System.out.println("Connecting Server " + roRef.getIP() + ":"
					+ roRef.getPort());
			socket = new Socket(roRef.getIP(), roRef.getPort());
			output = new ObjectOutputStream(socket.getOutputStream());
			input = new ObjectInputStream(socket.getInputStream());
		} catch (IOException e) {
			e.printStackTrace();
		}

	}