When this infinite loop happens, what is the value of data? Also, is > there any chance that read() is raising an exception that is being > caught somewhere? Have you tried doing read with a specified buffer > size (e.g., stream.read(4096) or something). > > well, depending on which test case I'm running, it can either be just a newline character, or a string. None of the strings are more than 200 characters long, but whenever I do read with any value it just stays stuck on it.
In the meantime, I've been implementing the multiple thread attempt, and having some success with it. I just need to limit the number of threads that are being run. -- Todd Millecam
-------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
