Questions tagged [namedpipeserverstream]
29 questions
1
vote
1 answer
NamedPipeServerStream in Mono
I am trying to convert C#.Net project into Mono. NamedPipeServerStream & NamedPipeClientStream class are not supporting in Mono and throwing Unhandle exception.
Could you please help me anyone?
Code:
class Program
{
static string _PipeName =…

vadivelu
- 508
- 10
- 26
0
votes
1 answer
How to create multiple server streams for a single user in gatling grpc load scripts
We are trying to run a response time test or fixed test (ramp-up 10 users for 10 seconds and continue the run with 10 users for 30 minutes and then ramp-down the 10 users in the last 10 seconds) using the below code. Here there are 2 unary request…

VinGt22
- 21
- 1
0
votes
0 answers
IPC using named Pipes fails to connect on second run
I want to achieve inter process communication between the UI and background process.
From the UI thread ,I want to start an operation in a background process. The background process then will send back the progress of the operation to the UI…

harin04
- 271
- 5
- 16
0
votes
1 answer
How to create and delete NamedPipeServerStream in Powershell?
I was struggling with a scenario where I had one process running as admin and another process running as non-admin user. The first admin-process should open a pipeStream to allow the other process sending some message information.
Here I had…

Carsten
- 1,612
- 14
- 21
0
votes
1 answer
Is there a way to format EndRead(ar)?
I would like to process data via a NamedPipeServer.
To the server 1000 data are passed as string with content "int, double, bool, string, ...". The int Value increases from 1 -1000; double, bool and string also change. In total, 15 values are passed…

user10
- 15
- 4
0
votes
0 answers
Using named pipes/streams to convert and output to a stream contains no stream duration
I have an integration with an API that sends us an FLV with an H.264 codec.
I use FFMpeg (FFMpegCore, a C# library that interacts with FFMpeg) to convert the container to a fragmented MP4 container.
The result is then streamed to resp.OutputStream,…

Max Hay
- 230
- 2
- 11
0
votes
0 answers
Add PipeSecurity option to NamedPipeServerStream constructor in .net core 3.1
I am trying to establish a full duplex bidirectional communication between namedpipestream client and server, in .net core 3.1, for that I tried to use a .netframework library
But there is an exception in the server when the client is not available,…

11738472
- 184
- 3
- 22
0
votes
0 answers
Why NamedPipeClientStream is connected without starting server on Mono?
I am trying to use NamedPipe. I have created two console based application. One is for client and another is for server.
Client Code:
class Program
{
static void Main(string[] args)
{
long total = 0;
Stopwatch…

adarsh
- 31
- 6
0
votes
0 answers
Named Pipe: First data transfer after starting the app is very slow
I have a client and a server application and want to send serialized small objects from the client to the server via a Named Pipe. It works very well, apart from the very first transfer: It takes up to two seconds every time after i started the…

flo
- 559
- 1
- 8
- 26
0
votes
0 answers
Reading from NamedPipeServerStream using Reactive Extensions
I am able to read messages sent over NamedPipeClientStreams by 2 threads using the following code:
Clients:
private static async void DoLogging(string context)
{
try
{
var pipeClient = new NamedPipeClientStream(".", PipeName,…

Gerhard Wessels
- 681
- 1
- 9
- 18
0
votes
2 answers
Allow access to Named Pipe Server from remote clients
I would like to ask you how to set up possible access to my named pipe server from remote clients. Until now I thought that NamedPipes can be used just for inter-process communication on same computer, but based on…

user2126375
- 1,594
- 12
- 29
0
votes
1 answer
Specifying default wait timeout in .NET named pipes
I am working with NamedPipeServerStreams in C# where our clients will be using the Win32 CreateFile and WaitNamedPipe methods to establish connections.
Previously our server was also Win32 and was specifying the 'DefaultTimeOut' as part of the…

Adam Cobb
- 894
- 4
- 14
- 33
0
votes
2 answers
using System.IO.Pipes.NamedPipeClientStream in a Sony Vegas Script
when i try to use a NamedPipeClientStream in a Sony Vegas Script i get the Exception
The type or namespace name 'NamedPipeClientStream' could not be found (are you missing
a using directive or an assembly reference?)
and
The type or namespace…

Julius
- 192
- 1
- 9
-1
votes
1 answer
What does "The maximum number of server instances has been exceeded" mean?
System.IO.Pipes.NamedPipeServerStream class throws IOException and the documentation says The maximum number of server instances has been exceeded. This message is not very clear to me. Can someone explain it in terms of I can understand? Does it…

Barış Akkurt
- 2,255
- 3
- 22
- 37