You obviously already know how to to read the pipe
You showed us how to !

I don't understand what you're asking?
"fgets" returns data up to cr/lf one at the time as is 
good to retrieve the list of items.
However when I ask for the entire document, because it's a 
binary stream, there is no cr/lf, or - better - there can 
be any somewhere or none and it's difficult to know the 
exact amount of data returned.
I sent this exact same response on March 5th
Sorry but our mail server was down and I lost a lot of messages

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact copyright@midrange.com.

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.