PIPES are unidirectional and can be synchronous or asynchronous in communication.
But how to create a Bidirectional Named pipe with one endpoint on one process and the other endpoint on other process both processes sharing the same memory and is present within the same operating system and communicating asynchronously.
Is there a way to do it ?
struct { int read_pipe_fd, write_pipe_fd; } bidirectional;
read()
andwrite()
are called on different fd's?