O_RDWR on named pipes with poll()
I have gone through a variaty of different linux named pipe client/server implementations but most of them use the blocking defaults on reads/writes. As I am already using poll() to check other flags I though it would be a good idea to check for incoming FIFO data via poll() as well... After all the research I think that opening the pipe in O_RDWR mode is the only way to prevent an indefinitely number of EOF events on a pipe when no writer has opened it. This way both ends of the pipe are closed and other clients can open the writable end as well. To respond back I would use separate pipes...