Question:
There is a service that launches several processes to which it will transfer data (objects about 10kb in size). You don't need to transfer anything back. There are several technologies for this:
- File Mapping
- Named pipes
- WM_COPYDATA
The data transfer will be high-intensity. Which technology is best for you?
Answer:
IMHO, the best way for interprocessor communication is sockets. Causes:
-
The speed is on par with the rest (within one PC).
-
Nobody canceled the possibility of broadcasting.
-
Without modifications, it is possible to create a "network" control panel.
ps WM_COPYDATA
is not even worth considering as a way of interprocess communication in a loaded system.