从Windows客户端到Linux服务器的RPC [英] RPC from windows client to linux server

查看:194
本文介绍了从Windows客户端到Linux服务器的RPC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从Windows 10客户端到Linux(RHEL 7)服务器的rpc。我是rpc的新手(必须是DCE RPC),所以如果你有一个工作的例子(hello world可能?),那将非常有帮助。我需要这样的事情:教程| Microsoft Docs [ ^ ]但是从Windows客户端到linux服务器。



我尝试过:



我看过这篇文章:从Windows到Linux的RPC [< a href =https://stackoverflow.com/questions/13087092/rpc-from-windows-to-linuxtarget =_ blanktitle =New Window> ^ ]表示要使用Samba,但是我得到了samba,并没有提到rpc。任何帮助是极大的赞赏。谢谢!

解决方案

跨平台RPC不是一件容易的事情。 RPC不是基于标准的,不同的平台以不同的方式处理事物,使它们直接不兼容。



也就是说,除非你把库放在客户端和服务器端之间为您处理翻译和沟通。



您可能需要查看 gRPC [ ^ ]。它是一组库,可以使跨平台RPC更容易。



不,我从来没有使用它,所以不要问我实例

I need to rpc from a windows 10 client to a linux (RHEL 7) server. I am very new to rpc (must be DCE RPC), so If you have a working example (hello world maybe?) that would be very helpful. I need somthing like this: Tutorial | Microsoft Docs[^] but from a windows client to linux server.

What I have tried:

I have seen this post: RPC from Windows to linux[^] which says to use Samba, however I got samba and it doesnt mention much about rpc. Any help is greatly appreciated. Thank you!

解决方案

Cross-platform RPC isn't an easy thing to pull off. RPC is not standards based, and different platforms handle things in different ways that make them directly incompatible.

That is, unless you put libraries between the client and server sides that handle the translation and communication for you.

You might want to look at gRPC[^]. It's a set of libraries that should make it much easier to do cross-platform RPC.

No, I've never used it, so don't ask me for examples.


这篇关于从Windows客户端到Linux服务器的RPC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆