Re: Interprocess comm using standard input and output
Sunday, June 11, 2006 12:19 PM
I haven't read your code in detail; I just skimmed through it. One thing that might be causing problems is you may need to explicitly "flush()" your output stream before trying to read from the input stream ... most especially since you are using the buffered versions of the readers and writers in the test app (the second code you posted). If that solves the problem, its a common thing to neglect.