IPC是进程间通信。
RPC是远程调用,远程调用需要借助于进程间通信。
远程调用的概念相对于本地调用。
本地调用时程序会被装载到内存中,然后通过内存寻址进行调用。
但是远程函数不在内存中该怎么调用呢?
这就需要使用进程间通信将调用信息发送到远端,然后远端在维护列表中查找目标函数。
**Client端 **
// Student student = Call(ServerAddr, addAge, student)
** Server端**
参考链接:https://www.jianshu.com/p/7d6853140e13
原文:https://www.cnblogs.com/chendeqiang/p/13184908.html