John Randall wrote:

Lorin:

Are you reading from an actual file or a socket?  I have had no trouble
using stdin to read from a file or pipe, even for large files.  For
sockets, I had the symptoms you described until I wrote code to keep
rechecking until the socket is fully read.  If this is the issue, I can
post what I use.

Best wishes,

John

I am reading from a pipe from httpd. It isn't a matter of not getting all the data. It is a matter of getting an error.

If I put a "try. catch." bracket around the read I can go on without the data. But without that it dies there. But because the server I'm using has hit logs but no error logs (as far as I have found so far) I don't know if J is giving an error message or what it might be.



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to