Cocoa 和 C# 应用程序之间的通信

发布于 2024-09-19 20:21:16 字数 230 浏览 2 评论 0原文

我有一个用 Objective-C 编写的 OS X 服务器应用程序。我想用 C# 编写一个在 Windows 系统上运行的客户端。

在两个应用程序之间进行通信的最简单方法是什么?

我熟悉 NSConnection,并且我想使用类似的东西。

该应用程序是一个非常简单的拍卖游戏。客户端将整数作为出价传递给服务器,服务器处理它们并通知客户端有关拍卖的状态(当前最佳出价和出价等)。

I have an OS X server application written in Objective-C. I'd like to write a client in C# which runs on Windows systems.

Which is the simplest way to do the communication between the two applications?

I'm familiar with NSConnection, and I'd like to use something similar.

The application is a very simple auction game. The clients passes integers as bids to the server, which processes them and notify the clients about the state of the auction (current best bid and offer and such).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文