C# application control local network iOS

こ雲淡風輕ζ 提交于 2021-02-11 06:29:02

问题


I'm in the middle of the process of making an application on Windows in C# and I want to make an IOS and an Android program. Things are going well, but I'm kind of stuck on implementing the requirements for proper network communication.

I've searched a lot on sockets and I'm quite sure that I have to use that but I don't know for sure. I can't really find much about it. So I was wondering if you guys could point me in the right direction.

So my question basically is how to establish connection and send the proper functions.


回答1:


You probably looking for an RMI Framework. (Remote Method Invocation)

What it basicly does is it's calling methods from other applications. For example: on your pc you call rmi.DoDisPlayMessageOnPhone("Hello!") your application on the phone will execute that method (you implemented -duh-). It makes networking simple and you don't have to bother about networking that much.

Here is an RMI Framework that I use too: SimpleClientServer (Scs)

It has a great example. Just read carefully and you will have networking in no-time :P



来源:https://stackoverflow.com/questions/27453665/c-sharp-application-control-local-network-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!