public void readInputStream() {
		try {
			
			int buffersize;
			if ((buffersize = msgSocket.getSocketInput().available()) != 0) { // is any msg available?
				char buffer[] = new char[buffersize];
				int count = 0;
				while(msgSocket.getSocketInput().available() != 0)  {
					count = msgSocket.input().read(buffer, 0, buffersize);
					System.out.println("< Server: ");
					String fromServer = new String(buffer, 0, count);
					System.out.println(fromServer);
					System.out.println(" verfügbare Zeichen " + buffersize);
				}
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}