chickadee » minissh » channel-read

channel-read channelprocedure

Read the next data packet from channel. Returns two values:

  • the data as a string
  • the data type code which is #f for normal data and a fixnum for extended data packets where 1 represents stderr.

The remote window size size is adjusted to stay between 1-2 MiB.