I have a two processes which would like to send messages to each other.
But in order to send messages to another process you need to know the
pid and cid of the process who owns the channel. How can I get this information from another process?
ie. processA has created the channel, now processB needs to ConnectAttach() but doesn’t know anything about processA (pid,cid etc…)
is using named pipe in QNX mean creating FIFO where one process will write and the other read?
So in general the solution is either make it a resource manager or use some type of shared memory location to pass this information?
yes, i do require buffering where name_attach/name_open is good for sending messages to small number of processes where you know them by name, but when a process wants to send a message to many processes, it becomes very tedious to name_open all their names.