HELP - FULL DUPLEX PIPE (IPC) PROGRAM

hai guys,

          help me in doing IPC using pipes.
          Can anyone help me in writing a pipe program which has
          2 write end & read end and transfer should be full-duplex.

Bye,
harish kumar