You are right, of course. My example should have been limited to one pipe for reading or writing in one direction, and another pipe to come back the other way. Thanks for pointing it out. I work with single-direction pipes all the time, and had forgotten about what you have to do for pipes going both ways. Dave Sherman