Questions tagged [named-pipes]
A named pipe is an inter-process communication mechanism, which exists both on Unix and Unix-like systems (where it is also known as a FIFO and is file-like), and on Microsoft Windows (where it is an in-memory kernel object). The semantics and APIs differ substantially between the platforms.
named-pipes
1,892
questions
1
vote
1
answer
21
views
Named pipe is closing on its own after reading one message
I am trying to run a named pipe server on a windows service for an ASP.net web API to communicate with. I have got the ASP.net to be able to send a message but immediately after reading from the pipe ...
1
vote
1
answer
45
views
boost::process::async_pipe or pipe for inter process communication
I need to do inter process messaging with named pipes.
I know async_pipe can be used for named pipe's.
But when i try to use async_pipe my program just stuck in io_context::run() on read
Why is ...
1
vote
0
answers
68
views
Full duplex named pipes on Windows
I would like to implement full duplex named pipe communications on Windows. The server needs to be in C++, and needs to be able to connect to multiple clients simultaneously. The client needs to be ...
0
votes
1
answer
37
views
Can't communicate between different levels of admin privileges using named pipes in .NET 8
I have a program which is composed of a Windows Service and a GUI. The windows service runs under a local system account, and the GUI runs on a user account and receives information about the service ...
3
votes
1
answer
58
views
Connect to admin named pipe from regular client
I'm trying to have a duplex named pipe in Windows using Golang and https://pkg.go.dev/github.com/Microsoft/go-winio package.
The client runs as a regular process but the server runs elevated (the ...
0
votes
1
answer
45
views
.NET NamedPipes client/server troubles. Server can't reply back to client - "Cannot access closed pipe"
I'm trying to create a basic client/server message exchange between two .NET applications. I want the client to connect to the server and then send a message. The server will then receive this message,...
1
vote
1
answer
51
views
NamedPipeClientStream and System.UnauthorizedAccessException
I'm trying to use named pipes to let a Windows service and an application share messages.
SERVICE
var ps = new PipeSecurity();
//ps.SetAccessRule(new PipeAccessRule("Everyone",
...
1
vote
1
answer
69
views
Windows Named pipe communication between C# .NET Windows Service and C++ client freezes
I need some help with Windows named pipes please.
Aim: run silent .msi installers from C++ app running WITHOUT admin permissions
Idea: bundle the .msi with another product as an installer daemon ...
3
votes
1
answer
140
views
Why is a FIFO pipe on macOS ~8x slower than an anonymous pipe?
On an M1 Max, I have created a FIFO named pipe with mkfifo and am testing write/read performance with a simple C program and pv. The program writes 65536 bytes at a time to stdout. When doing ./writer ...
1
vote
0
answers
48
views
Bash − Using one bc instance in a named pipe [duplicate]
Context: I have a script which makes multiple calls to bc to set some values, ie: many foo="$(echo '1/3' | /usr/bin/bc -q)"
What I want to achieve: do not call bc every times, but keep one ...
0
votes
0
answers
69
views
.NET MAUI Named Pipe Client Stuck on ConnectAsync on MacOS
I'm trying to implement named pipes in .NET MAUI (.NET 8) on Windows and MacOS. Everything works fine when testing on Windows, but when I test it on MacOS, the client gets stuck on connecting.
Pipe ...
0
votes
1
answer
33
views
Why does tee make a different in named fifo?
so the cpp code is trying to solve the problem on codeforces using some random numbers and BSGS algorithm.
I had issue when debugging this problem because it talks to another program through STDIN and ...
0
votes
1
answer
46
views
C# WCF Named Pipe - return progress to GUI
I use WCF Service for Copying files in the local environment.
The WPF GUI is used to call methods from WCF Service using some buttons.
Type of communication I use is Named Pipes.
I have problem with &...
0
votes
1
answer
77
views
WCF Service hosted locally using Windows Service - named pipes communication with GUI - "The pipe has been ended. (109, 0x6d)."
I have read the documentation on the Microsoft Page about inter process communication on Windows platform so I started doing some demo projects to test how does it work etc. Because all I want to do ...
0
votes
0
answers
57
views
Named pipe connection over network error (The username or password is incorrect)
When running a solution where one machine runs a server and a second machine runs a client connecting via named pipes I'm having a strange issue.
If both machines run the same Microsoft account, the ...