public static void main(String[] args) throws IOException {

		if (args.length != 2) {
			System.err
					.println("Incorrect Syntax. Correct: java Client <host name> <port number>");
			System.exit(1);
		}
		Client client = new Client();
		client.assignVariables(args[0], Integer.parseInt(args[1]));
		while (true) {

			if (client.logIn() == true) {

			} else {

				break;
			}
		}
		client.closeAll();
	}