the pseudo file my.socket would be required to reside into a directory where your user has write permission for being successfully created.
shmsink will create the named socket, and it will delete it on closing only if the receiver is no longer listening. In latter case being false, you may have to delete it by yourself.
shmsink/src may result in significant CPU usage. Maybe using a network streaming protocol into localhost could save more resources, but I haven’t really profiled that.
I am trying to find way to wait on the creation of SENDER pipe (pipe with shmsink) from the RECEIVER pipe (pipe with shmsrc). And if this is possible the RECEIVER pipe can safely start it’s pipe after the creation of the SENDER pipe.
I wonder if I can do this with inotify-tools(inotifywait) library on the control socket file or if there exists any nicer method to do this.
And I think shm would be better than tcpsocket or pipe because shm reduces number of data copy.