According to my textbook, two processes must have two pipes to achieve two-way communication. For the parent and child processes, this should also be true.