private void readServerAnswer() {
		try {
			if (msgSocket.getSocketInput().available() != 0) { // if
				int buffersize = msgSocket.getSocketInput().available();
				int count;
				char buffer[] = new char[buffersize];
				// available
				while (msgSocket.getSocketInput().available() != 0) { // if
					// not
					// available
					count = msgSocket.input().read(buffer, 0, buffersize);
					System.out.println("< Server : ");
					String fromServer = new String(buffer, 0, count);
					System.out.println(fromServer);
				}
			}

		} catch (IOException e) {
			System.err.println("get Login Message failed");
		}

	}