Inter-Process Communication (IPC) refers to the exchange of data among multiple threads in one or more processes, either locally or on remote computers connected in a network. The available methods of IPC vary based on the bandwidth and latency of communication between the threads, and the type of data being transmitted. IPC includes subtopics such as message passing, synchronization, shared memory, and remote procedure calls (RPC).
Questions tagged [inter-process-communicat]
218 questions
4
votes
2 answers
WM_COPYDATA: Can the receiver modify the COPYDATASTRUCT contents?
I am trying to communicate between two Windows applications in Delphi. Sender sends commands via SendMessage using WM_COPYDATA. That part is working fine. Is it possible for the receiver to reply back some result strings in the same call? It is…

ssh
- 943
- 1
- 14
- 23
4
votes
4 answers
What's the best way to notify a non-web application about a change on a web page?
Let's say I have two applications which have to work together to a certain extent.
A web application (PHP, Ruby on Rails, ...)
A desktop application (Java, C++, ...)
The desktop application has to be notified from the web application and the delay…

Daniel Rikowski
- 71,375
- 57
- 251
- 329
4
votes
1 answer
Cannot find named event when created in Windows Service
I am developing a Windows Service in C# to centrally manage some application connectivity. It's a sleeper service in general, which performs some actions when awoken by an external executable. To this end I'm using named events, specifically the…

Niels Keurentjes
- 41,402
- 9
- 98
- 136
4
votes
1 answer
Automating publishing of FLA files; calling Process.Start multiple times
Problem Background
I've created a "One-Click" publication process for my Flash (*.fla) project files with a C# program that performs the following operations:
Updates a static "version" variable in two main project files (one for each FLA…

Triynko
- 18,766
- 21
- 107
- 173
4
votes
0 answers
R - Embedded inter-process communications (IPC) library
Question
I'm looking for an embedded IPC framework because I want to achieve the following parallelism:
I want to analyse numerous sources of live data
I plan to use a new process for each data source to poll for updates
This allows each data…

mchen
- 9,808
- 17
- 72
- 125
4
votes
1 answer
class MemoryFile of any use?
I planned to use shared memory between an activity and a service in separate process to transfer big content between them.
To that end I read every info I have found on MemoryFile and how to transfer it between activity and specifically this…

yves
- 664
- 1
- 12
- 24
4
votes
2 answers
RMI support for IPC in java
I went across all the links on java Inter Process Communication, but I couldn't get an exact answer. I am on my way to write a java service which I want to communicate with a service running on my system. The service may be C, C++, or a service…

Nikhil
- 2,857
- 9
- 34
- 58
4
votes
1 answer
Piping SoX in Python - subprocess alternative?
I use SoX in an application. The application uses it to apply various operations on audiofiles, such as trimming.
This works fine:
from subprocess import Popen, PIPE
kwargs = {'stdin': PIPE, 'stdout': PIPE, 'stderr': PIPE}
pipe =…

Cochise Ruhulessin
- 1,001
- 1
- 11
- 15
3
votes
2 answers
C# get notified when another process makes changes to a textfile
I would like to be notified in my C# application when another process makes changes to a particular textfile.
The reason for this is that I launch a 3rd party tool from my application in order to retrieve some information about a device. this tool…

Mat
- 4,281
- 9
- 44
- 66
3
votes
3 answers
PHP async process communication
Is there a way to achieve inter-process (or threading) communication in PHP, but still keep everything run asynchronous?
I want to have a script that creates 4 processes and then terminates immediately. Each of the 4 processes should do an action…

Eduard Luca
- 6,514
- 16
- 85
- 137
3
votes
1 answer
Using "named pipes" in ASP.NET HttpModule
I have an HttpModule that gathers some basic information on every Http request to an ASP.NET site. The module has to send this information for further processing to an external program (a windows service or a console app.) I am currently using a WCF…

Denis
- 4,718
- 5
- 18
- 20
3
votes
2 answers
How to connect javascript and c#
I need to connect a javascript/jquery-based webpage (which is executed locally only) using a c# application.
I guess the easiest ways are using a database (what seems to be problematically to connect with from javascript) or a tcp-socket. I tried to…

user3479074
- 131
- 1
- 3
- 9
3
votes
2 answers
Reading and writing in parallel to MemoryMappedFile
What will happen if I read and write in parallel in the same MemoryMappedFile? Is it necessary that I lock them via Mutext before reading as shown in the samples on MSDN?
Memory-Mapped Files

BendEg
- 20,098
- 17
- 57
- 131
3
votes
3 answers
python non blocking recv with pipe between processes?
Seen this line of code but could not find documentation
self.conn.setblocking(0)
The question is, how do you poll a pool of pipes without blocking?
Got a parent process that needs to communicate with some unstable child processes and wish to poll…

AturSams
- 7,568
- 18
- 64
- 98
3
votes
0 answers
C++: Communication with elevated child process on Windows
I'm having the following setup: The DLL I'm writing is loaded dynamically at runtime and offers some API-like functionality to the host application. The host application is not running with admin rights (and therefor my DLL isn't either).
Some tasks…

aRestless
- 1,825
- 2
- 18
- 27