Skip to main content

All Questions

Tagged with
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 ...
Kliment Nechaev's user avatar
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 ...
Lorne's user avatar
  • 89
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 ...
Haj's user avatar
  • 11
1 vote
0 answers
111 views

Nonblocking read sometimes drops data

I'm attempting to write interprocess communication for the following scenario: A "reader" (the program I am writing) listens continuously on a fifo. Writers appear and disappear in serial, ...
Christian Chapman's user avatar
0 votes
0 answers
112 views

exe not reporting on stdout - but working through bat file

When I run an exe file through a bat file as intermediary for stdin and stdout pipes then it works, but not when I run it directly I have an exe file: p.exe. It is supposed to receive input on stdin ...
Casper Thule Hansen's user avatar
1 vote
1 answer
346 views

Read and write simultaneously from a named pipe in C++

I have a process A that is writing continuously to a named pipe. It has opened it in O_NONBLOCK | O_RDWR mode. Another process B is reading continuously from that pipe. It has opened it in O_NONBLOCK |...
ztart14578's user avatar
1 vote
1 answer
157 views

Named Pipe Server in C++ using Boost.Asio

I've been using the Windows API directly to create a named pipe server as follows: #include <iostream> #include <windows.h> int main() { // Define the name of the named pipe const ...
BullyWiiPlaza's user avatar
0 votes
0 answers
33 views

How to start a NamedPipeServer within a Windows Explorer ShellExtension in a correct way

I have to implement a NamedPipeServer in our Windows Explorer ShellExtension which contains a ContextMenuExtension and a IconOverlayExtension. The NamedPipeServer itself is no problem but i have no ...
Action Heinz's user avatar
-2 votes
1 answer
415 views

How can I create a named pipe with c++ in Windows so that data can be read from it as if it were a regular file, given the pipe's name?

Problem Due to some unusual requirements, I would like to be able to open a named pipe from c++ code in Windows from its name as if it were a regular "file path," rather than using ReadFile. ...
prsm's user avatar
  • 9
0 votes
0 answers
47 views

Connection Failure between Visual Studio and Qt Using NamedPipe

I'm trying to establish communication between Visual Studio and Qt using the named pipe method. I have Visual Studio set up for transmission and when I run the Qt program, it establishes a connection ...
Beginner kim's user avatar
2 votes
1 answer
189 views

Reopen linux pipes (from one side only) using file name

I have two different programs in C++ that talk to each other via (linux) pipes. One process is the master, and the other process is the slave. Either of them could crash or simply be restarted, but ...
nsalu's user avatar
  • 43
0 votes
1 answer
1k views

Windows named pipe ReadFile failing with error 232

I have two 32 bit applications communicating over a named pipe in windows without errors. Recently due to project requirements I had to convert one of the 32 bit to 64 bit application, Now when the 64 ...
Tej Ravi's user avatar
0 votes
0 answers
82 views

Read Write Issue in Named Pipes on CentOS 7

I am new in NamedPipe concept on Linux/Centos 7. I want to implement read write funtions between my Windows and CentOS PC using NamedPipe. I have created a NamedPipe on CentOS PC using mkfifo function ...
Gautam Saini's user avatar
0 votes
0 answers
138 views

Parse 0 size protobuf message as Any and UnpackTo type

I ran into an issue with deserializing 0-length protobuf messages. First I read the length of the message and then the message itself: // Runs on input read thread bool readInputMessage(google::...
user2466076's user avatar
0 votes
1 answer
741 views

How can I read and write to pipes created for a child process in c++

I am making a tester program that opens a console application and reads it's standard input writes to it's standard output, but am having issues with the pipes. I am using named pipes since I might ...
Akadine's user avatar
  • 19

15 30 50 per page
1
2 3 4 5
21