如何在 Windows 上实现 RPC 客户端

How to implement RPC client on Windows

方便程序员在Linux上实现rpc客户端和服务端,使用rpcgen命令自动生成client stub和server stub。 现在我想在 Windows 上实现一个 rpc 客户端来从 Linux 上的服务器调用过程。在Linux中,我们可以使用gcc -Wall -o test_client test_client.c test_clnt.c这样的命令来生成客户端的可执行程序,但我如何在 Windows 上管理它?

Windows 有自己的 RPC 版本。它仅在 Windows 个框之间工作正常。

对于互操作性,您需要查看 CORBA 或 WCF。