named-pipes Questions

2

I need to implement an inter-process communication between C# applications. I decided to use named pipes and wrote the following code: Server while (true) { using (var server = new NamedPipeServ...
Hendeca asked 24/8, 2015 at 8:47

4

What is the proper way of communicating with named pipes on Windows from Python? I've googled it, and can't find any packages that wrap this communication. There are: some descriptions of how to d...
Crudden asked 31/1, 2018 at 12:50

3

I'm porting a library from .NET Framework 4.6.1 to .NET Standard 2.0. In Framework, the NamedPipeServerStream constructor could take a PipeSecurity parameter, but that isn't an option in Core. How ...
Tournai asked 29/1, 2020 at 15:4

5

Solved

Any idea to solve this problem? I just created a new project and I want tu use System.IO.Pipes I install the package System.IO.Pipes with NuGet, he is my reference directory but when I try to buil...
Melar asked 10/3, 2019 at 18:56

1

Solved

Using NamedPipeServerStream to read and NamedPipeClientStream to write data, everything works fine when both processes are run by the same user, but if I run the client process by a different user ...
Helbonna asked 20/9, 2020 at 8:40

3

Solved

Does anyone know where I could download Russell Libby's named pipes components? All the links I can find point to http://home.roadrunner.com/~rllibby/source.html Which is no longer alive. HMcG
Luteous asked 27/2, 2011 at 11:21

8

Solved

I am trying to write a (elevated privilege) service that will talk to a non privileged winforms application. I was able to have two console applications (one elevated one not) talk back and forth n...
Imhoff asked 13/8, 2010 at 15:6

2

The following code creates a new thread acting first as a named pipe client for sending parameters and then as a server for retrieving results. After that it executes a function in another AppDomai...
Vieira asked 26/8, 2013 at 6:35

6

Solved

Can someone post a simple example of using named pipes in Bash on Linux?
Catechism asked 6/11, 2010 at 16:30

6

Solved

On our Linux system we use named pipes for interprocess communication (a producer and a consumer). In order to test the consumer (Java) code, I would like to implement (in Java) a dummy producer w...
Irreformable asked 11/3, 2009 at 13:42

4

I'm trying to implement IPC using named pipes in Python, but there is a problem. open blocks the process import os path = '/tmp/fifo' os.mkfifo(path) fifo = open(path, 'w') # never returns Same ...
Highflown asked 3/10, 2017 at 4:55

2

Solved

I've written a little apllication that creates a named pipe server and a client that connects to it. You can send data to the server, and the server reads it successfully. The next thing I need to...
Oquassa asked 8/12, 2011 at 17:11

2

Solved

I'm making a multi-client Named Pipe server. The clients are connecting to the server correctly, but whenever I attempt to write to the pipe through the server or the client, the code hangs on the ...
Janejanean asked 6/2, 2013 at 18:11

4

I've got an existing named pipe, say \\.\pipe\my_pipe. How can I, from cmd or powershell, get the ACL/Permissions of the pipe ?
Calamite asked 22/2, 2018 at 9:8

4

My current named pipe implementation reads like this: while (true) { byte[] data = new byte[256]; int amount = pipe.Read(data, 0, data.Length); if (amount <= 0) { // i was expecting it to...
Aspen asked 12/9, 2013 at 8:24

10

I am seeing this in several situations and it is intermittent in our web based application connecting to SQL Server 2008 R2 serve back end. Users are coming across a point 2 point connection and se...
Neibart asked 1/10, 2014 at 6:27

5

Solved

I'm trying to use PipeSecurity to secure a NamedPipeServerStream. When I call this.pipeServer.SetAccessControl(pipeSecurity) in the snippet below I get the following exception: Attempted to perfor...
Cussedness asked 6/6, 2018 at 2:38

12

Everyone seems to say named pipes are faster than sockets IPC. How much faster are they? I would prefer to use sockets because they can do two-way communication and are very flexible but will choos...
Connaught asked 5/8, 2009 at 21:52

4

Solved

I have two .NET applications that talk to each other over a named pipe. Everything is great the first time through, but after the first message is sent, and the server is going to listen again, the...
Whitleywhitlock asked 21/5, 2009 at 22:3

3

Solved

I have a class (NamedPipeManager) which has a thread (PipeThread) that waits for a NamedPipe connection using (ConnectNamedPipe) and then reads (ReadFile) - these are blocking calls (not-overlapped...
Lunneta asked 30/8, 2009 at 6:45

2

Solved

I'm new to the docker. Any help and tips are welcome. Environments: Windows: Windows 10 Pro 21H1 Docker Desktop: 3.4 I can run hello work example without any issues. But seems like I can't use na...

1

Solved

Many Ansible modules are designed to accept file paths as a parameter, the but lack the possibility to supply the contents of the file directly. In cases where the input data actually comes from so...
Goatskin asked 7/1, 2022 at 17:22

3

Solved

Currently writing a Windows service in .NET and I'm using named pipes to have other processes communicate with my service. In the more complicated constructors of NamedPipeServerStream, there's a p...
Shiah asked 11/1, 2012 at 14:19

1

Solved

When executing these command in fish shell $ mkfifo answer $ nc -vv -l -k -p 8001 <answer | tee -a answer The command hangs. If I write to answer through echo "" > answer. Then the...
Grass asked 17/9, 2021 at 1:49

5

I want to interact with the pipe manually , but so far I can only do this in the programe,which is not very intuitive. The effect I want to achieve is a little similar to : telnet localhost 3306 ...
Roundelay asked 8/9, 2010 at 16:50

© 2022 - 2025 — McMap. All rights reserved.