docs: public void run() {
  		byte[] buffer = new byte[80];
  		byte[] message;
  		int count = 0;
  
  		while (!closed && count >= 0) {
  			try {
  				//statement blocks
  				count = stdIn.read(buffer);
  			}
  			catch (IOException ioe) {
  				close();
  			}
  			if (count > 0) {
  				message = new byte[count];
  				System.arraycopy(buffer, 0, message, 0, count);
  				if (!closed) {
  					transceiver.transmit(message);
  				}
  				else {
  					try {
  						stdOut.write(("dialog closed: unable to transmit '" + new String(message).trim() + "'...").getBytes());
  					}
  					catch (IOException ioe) {
  						//...
  					}
  				}
  			}
  		}
  	}