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,891
questions
1
vote
0
answers
65
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
30
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
48
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
44
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
45
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
61
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
127
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
63
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
31
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
76
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
56
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 ...
1
vote
1
answer
70
views
data only written to named pipe after program quits
I am trying to write a program in Rust that writes a string to a named pipe. However, the data only shows up on the receiving end after the program quits.
Here's my code:
use termion::event::Key;
use ...
0
votes
1
answer
42
views
Coordinating error states for multiple goroutines?
I have three goroutines which depend on each other, and I am coordinating them with channels. Two of the routines are writers and one is a reader to a named pipe.
However, each of these routines could ...