-----Original Message-----
<snip...>
When the server reads the data from the buffer file, it is
asking for 128K bytes. It gets 128K, but the end of the input
from about 85K is filled with 0s. If I save the buffer file
to another location and 'od'
the file, I can see that the data being written to the buffer
file is correct and does not contain the area of 0s returned
by the read.
<snip...>
It sounds like the buffer may be initialized with '0', with
the exception of the note you make regarding the different file
location.
Perhaps the buffer already exists (hidden)?? When running your
program, do you check if the buffer already exists?
Debugging is about as much fun as one person can have!