[plt-scheme] Reading/writing atoms to TCP port
On 4/4/06, John Clements <clements at brinckerhoff.org> wrote:
>
> IIUC, MzScheme's behavior seems like the right one. If the only
> character waiting to be read in a port is a "6", there's no way for
> READ to figure out whether this is the beginning of a longer number
> or just the number 6. After all, you might be about to put the
> characters "2687" on the port, in which case READ ought to return the
> number 62687, right?
This certainly makes sense. During my testing, I missed cases that
would use a newline (other other delimiter) with atoms as well as
flushed output -- since the TCP ports are not line-buffered by
default.
Thank you John and John for clarifying.
- Scott Bell