Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个用本机 c 编写的程序。现在,我希望这个本地 c 程序与使用 bind 用 java 编写的服务通信。任何人都可以告诉我如何?实际上,我已经尝试过使用本地套接字来实现它。但是它太慢了。谢谢!
思路如下图所示:
Process P1 Process P2
用户空间程序(在 java 中)
JNI layer native code (in c/c++) <----------------------> native code (in c/c++) Binder