reads to send. Default is read forever.
Print all diagnostics to the log (stderr). Capture the data from the specified endpoint and print it to stdout.
change `window` and `Window` to `windows` and `Windows`