bi-directional fifo


I need to make two independent process communicate using open, read and write calls. I could use mkfifo, but the problem is that the same process that wrote to the fifo could read its own data. I need something like a socket communication type: one process can read or write to the same file descriptor but there are two different channels. Is there such a mechanism? I do not need necessarily to create this mechanism (if exists) in my program, I just need to open it.

Thanks in advance.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!