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
0
votes
1 answer
Program hanged or stop execution randomly using fork() and signal
I have written a program where I have created a child process. Both the parent process and child process do calculation in two parts- parent_part1 , parent_part2 and child_part1, child_part2.
My aim is to run the…

bholanath
- 1,699
- 1
- 22
- 40
0
votes
1 answer
Using file to exchange messages between two processes
I am creating a C# program that outputs data to excel using Microsoft.Office.Interop.Excel Namespace
In excel I have 5 user defined functions (UDF) that when executed I will like to call a method on my C# application. The way I am planing on…

Tono Nam
- 34,064
- 78
- 298
- 470
0
votes
1 answer
Triggering method from a started jar File which was loaded via Runtime...exec("..") in a java file
this is what I want to do:
I need to start two jar Files from out of a java file and i want to call a method from the firstly started jar file, when i read a specific status from the second jar file. I figured out how to read the outsputstream from…

gemorra
- 142
- 13
0
votes
2 answers
Transfer Object by using NamePipe [Inter-Process Communication] VB.NET
So far i have done the part that able to let me transfer text between the sender & receiver. Is there anyway to transfer an object by using namepipe? eg. arraylist

C PWL
- 519
- 6
- 10
- 26
0
votes
0 answers
copy std::string between 2 different programs
I have a std::string which is generated in some program.
I have another program which should use this string.Meanwhile (for debug purposes)these programs are independent - but I still want to get and process this string in other program.
How can I…

YAKOVM
- 9,805
- 31
- 116
- 217
0
votes
2 answers
How do I accept any number of connections using `accept()` during a certain time period?
For example, I don't how many clients will connect, but I'd like for any number of clients to be able to connect during a time period, say 10 seconds.
Right now I have something like this:
unsigned int currentTime = (unsigned int)time(NULL);
int…

trusktr
- 44,284
- 53
- 191
- 263
0
votes
0 answers
Communication in distributed systems - are files really used?
Types of Communication
Transient • Message only exists while communicating processes are
active
Persistent • Message persists even when processes are not active •
Placed in persistent message queue execution of receiving process)
A file! •…

Pravin Agre
- 373
- 2
- 5
- 17
0
votes
0 answers
Stopping tornado web server
I know this question has already been asked, but the proposed solutions don't work for me. I'd like to run the tornado and would also like to be able to stop it somehow from another application's command.
The problem is, when following the solution…

Max
- 101
- 8
0
votes
1 answer
Inter process communication on same machine
using System;
using System.Diagnostics;
namespace csharp_station.howto
{
///
/// Demonstrates how to start another program from C#
///
class share
{
public int a;
public int b;
}
…

yuthub
- 67
- 6
0
votes
1 answer
InterProcess Communication using Pipes and Files
I am learning Windows System Programming. I have come across "IPC using Anonymous Pipes " and "IPC using files".
But I get confused between "IPC using Anonymous Pipes" and "IPC using Named Pipes". As far as I know "Named Pipes" usually appears as…

suraj_fale
- 978
- 2
- 21
- 53
0
votes
1 answer
Proper way to handle pthread communication / signals in this instance?
I'm writing a small client / server demo that shares files between peers. One a peer gets a list of ip addresses from the main server, the main thread creates a thread for each respective file. The process looks like this:
Main thread gets list of…

the_man_slim
- 1,155
- 2
- 11
- 18
0
votes
2 answers
Seeing available dictionaries in a XPC service daemon?
There are a bunch of launch daemons and agents running on an osx machine which support xpc. To see whether they support IPC over xpc, I look for any xpc functions, particularly xpc_connection_create. My understanding is that in order to speak with…

daybreak
- 181
- 1
- 8
0
votes
1 answer
Android IPC Remote service call display Error
I want to make one demo application regarding the IPC communication .(Communication between Service).
I am using AIDL for that .
I found most of tutorial the RemoteService and Client are in same package .
I actually do it separately ,While passing…

NovusMobile
- 1,813
- 2
- 21
- 48
0
votes
2 answers
An always-running thread in Servelts
I need to built a thread/process that is always running, and can be queried through other servelts and JSP pages...
This thread/process will be dealing with large files, so it will cache file blocks to reduce file accesses (plus some other…

Betamoo
- 14,964
- 25
- 75
- 109
0
votes
1 answer
Many-to-many interprocess communication, with no central hub
I'm looking for an efficient way to handle many-to-many communication between several processes running on my machine.
My requirements would be:
No central hub (e.g. no central process that routes the messages)
All the processes must be able to…

Andrea
- 884
- 1
- 10
- 23