I want to create a named pipe ("mkfifo") with .net6 in Linux.
Using the class NamedPipeServerStream doesn't help me as it creates a socket file instead of a pipe.
This creates a socket :
var notAPipeButsocket = new NamedPipeServerStream("/tmp/my.notpipe", PipeDirection.Out, 1, PipeTransmissionMode.Byte, PipeOptions.Asynchronous);
notAPipeButsocket.WaitForConnection();
It seems Microsoft chose to implement "NamedPipeServerStream" explicitly with sockets in linux: Why not use Unix Domain Sockets for Named Pipes?
How to create a real named pipe file with .net6 in Linux and write in it?
Context: I want to open the pipe with WireShark.