英文G了一下,知道了一点。
RPC是IPC的一种。
The biggest difference is that IPC can be presented in any form. It can be in the form of shared memory, it can be in the form of a byte stream, it can be in the form of messages. IPC is some way to send information from one process to another. RPC is specifically a way for one thread to call a function that will be executed by another thread, typically in another process or even on another machine. RPC is technically a form of IPC. (One way processes can communicate with each other is by having one process call a procedure in another process.)