ipc
help:wrong behavior code:client-server IPC signal handling on POSIX Message Queue UNIX C programming
in a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario:[详细]
2023-03-13 13:15 分类:问答How do you tell if a pipe opened process has terminated?
Assuming a handle created with the following code: use IO::File; my $fh = IO::File->new; my $pid = $fh->open(\'some_long_running_proc |\') or die $!;[详细]
2023-03-13 08:01 分类:问答Inter process communication on the same machine,signal or socket,how to decide?
It 开发者_开发技巧seems to me that both signal and socket can be used for this job, how do you decide which one to use actually?Using signals for IPC is sort of inconvenient and primitive. You should[详细]
2023-03-13 00:22 分类:问答What's the easiest way to send a string to another application? (Win API)
I have two Win32 API programs written in plain C: Program A and program B. I want program B to send the string \"Hello World\" to program A. So B needs to do the following:[详细]
2023-03-12 18:23 分类:问答kill() function problem in client-server ipc message using 2 FIFOs
I want to have a message send & receive through 2 uni-direction FIFO Flow of data FIFO1 stdin--->parent(client) writefd--->FIFO1-->child(server) readfd[详细]
2023-03-11 21:08 分类:问答How to peek at STDIN with Delphi 7?
In a Delphi 7 console application, how can I check whether stdin holds a character, without blocking until one i开发者_开发技巧s entered?[详细]
2023-03-10 10:16 分类:问答Simplest way to make cross-appdomain call?
I need to call a method of object in another appdomain (pass param and get result). Ideas? UPD both AppDomain\'s are created not by my code (host app creates it, and then my code gets called). How I[详细]
2023-03-10 06:27 分类:问答Returning an AIDL interface implementation by reference across processes
I have a little Android project going on which involves some IPC where client Activities bind to my service.[详细]
2023-03-09 21:50 分类:问答Determine which signal uncaught by terminated child process
I have a Mac OS X app (Cocoa), which spawns a C++ console helper app to do some work.The GUI spawns the helper via NSTask, and they communicate with each other via named pipes.This is all good.[详细]
2023-03-09 21:16 分类:问答How can I most easily do IPC/RPC between Cocoa (client) and Java (server) running on the same host?
The Java end is a Bukkit plugin, so I don\'t have the freedom to build on a servlet engine like Tomcat. I don\'t need arbitrary access to any object; I just want to expose a subset of functionality av[详细]
2023-03-09 17:22 分类:问答