How to make a WCF named pipe address equal to a WinApi one?
I noticed that WCF's named pipe address net.pipe://localhost/mynamedpipe and Windows API's \\.\pipe\mynamedpipe don't collide. Why is that? How can I make them point to the same pipe? ...
I noticed that WCF's named pipe address net.pipe://localhost/mynamedpipe and Windows API's \\.\pipe\mynamedpipe don't collide. Why is that? How can I make them point to the same pipe? ...
I can't find a good example of how to create a reusable named pipe listener that runs asynchronously. I can make a reusable listener: NamedPipeServerStream pipeServer = new NamedPipeServerStream("MyPipe", PipeDirection.InOut); while (true) { pipeServer.WaitForConnection(); StreamReader reader = new Stre...
Hello, I need to have a high performance communication between 2 applications. I tried AppleEvent but it is not really a good option. I thought to use a named pipe but I do not know how to use them in COCOA. Thanks in advance for your help :) ...
I've been searching for a while but it seems to be difficult to find any definite answers on how to recover from exceptions thrown by calling NamedPipeServerStream.BeginWaitForConnection. I have an application that sets up a named pipe server on a well known name and listens for messages to perform certain actions. It works fine and da...
Hi How do I read a FIFO/named pipe line by line from a C++/Qt Linux app? Today I can open and read from a fifo from a Qt program, but I can't get the program to read the data line by line. Qt reads the entire file, meaning he waits until the "sender" closes his session. Let's take a example with some shell commands to show what I w...
I'm trying to learn WCF to use it as an IPC mechanism for a host/plugin system. The host needs to be able to call the plugin to Start/Stop it, and the plugin needs to call the server back to perform logging. I made a simple test case where the host creates an endpoint on "net.pipe://localhost/SampleServer" with the following ServiceCont...
Hi, i know little about pipes but have used one to connect two processes in my code in visual C++. The pipe is working well, but I need to add error handling to the same, hence wanted to know what will happen to a pipe if the server creating it crashed and how do I recognize it from client process? Also what will happen if the client pr...
Can I use select and poll on the Named pipe handle in windows? It will be great if an example can be given. (I am very new to windows programming) In case one of process goes down and I am polling on other end, will I get any error message on the other process that the process is down? ...
I'm looking at a project which will require inter-process communication between a legacy Windows application using named pipes, and a new service running on a Linux server. The windows application cannot be changed. Does anyone know if there is a Linux library available that supports Windows named pipes? Or even better, can anyone recomm...
To all the .NET experts, I have a question for you. I need to do SOAP/HTTP over named pipes on Windows, in C#. (This is for a client talking to a Python library/server using SOAP for RPC. Using socket/port was deemed both insecure, and port configuration becomes a hassle.) There are two problems. There is an HttpWebRequest class,...
I'm writing a graphical URI handler for git:// links with bash and zenity, and I'm using a zenity 'text-info' dialog to show git's clone output while it's running, using FIFO piping. The script is about 90 lines long, so I won't bother posting it here, but here's the most important lines: git clone "$1" "$target" 2>&1 | cat >> /tmp/gith...
I have an Internet Explorer add-in, written in C#, which talks via a WCF named-pipe to a .NET desktop application. The desktop app creates the ServiceHost for the netNamedPipeBinding, and each instance of the IE add-in creates a ChannelFactory to talk to the app. Everything works fine under Windows XP, but an exception is thrown under ...