[Info-vax] RMS internals?
Bob Koehler
koehler at eisner.nospam.encompasserve.org
Mon Aug 10 08:44:14 EDT 2009
In article <h5lckr$8h3$1 at naig.caltech.edu>, glen herrmannsfeldt <gah at ugcs.caltech.edu> writes:
> In comp.os.vms Howard S Shubs <howard at shubs.net> wrote:
> (big snip)
>
>> I suppose we could have done it with two $GETs, yes. Unfortunately,
>> without knowing for sure how the file was being written by FTP, we
>> didn't know that. FTP is saving it as two records, one of 32767 bytes,
>> and one of 330 bytes. I only found that out once I looked at the blocks
>> while debugging my routines. And I can't be sure it'll always work this
>> way. We're using MULTINET. What if we switch to UCX (unlikely) and it
>> does things differently? I like the idea of having a library around
>> which will read any record length, anyway.
>
> TCP is a stream protocol, with no record marks. The resulting
> file should be independent of anything in the TCP/IP chain.
FTP imposes a standard CRLF pair at the end of each line of text,
when transfering as a text file. Of course, TCP doesn't need to
know about this.
More information about the Info-vax
mailing list