[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: corrupted real-time input stream



Bret Stern wrote:

-----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!




Bret thanks for your response, I had ensured that the file buffer
doesn't exist before running the program. I don't think that is the problem.

"Debugging is about as much fun as one person can have!" (legally)



Carl.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]