Adobe Air - BitTorrent?

发布于 2024-08-05 10:07:25 字数 89 浏览 8 评论 0原文

有人有过使用 Adob​​e Air 创建 BitTorrent 应用程序的经验吗?

目前有这方面的参考吗?

请提供尽可能多的信息。

Has anyone had any experience using Adobe Air to create BitTorrent application?

Is there presently any reference on this?

Please provide as much information as possible.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

荒人说梦 2024-08-12 10:07:25

back2dos is incorrect... check out the DatagramSocket class in the ActionScript 3 reference

莳間冲淡了誓言ζ 2024-08-12 10:07:25

据我所知,Torrent 使用 µTP,它基于 UDP ... UDP 是无法通过 AIR API 访问...您可能需要嵌入一个小型 Java 小程序(在 HTMLLoader 内,该应用程序不在显示列表中)... signed Java 小程序可以绑定端口并执行 UDP ...因此,您基本上可以让 Java 小程序进行网络连接,并绑定一个 TCP 端口,通过该端口AIR 运行时可以与小程序通信...可能有很多 Java 种子库...

这有点值得怀疑,使用 AIR 是否有意义,而不仅仅是一个纯 Java 解决方案,但我想这就是由你决定 ...

as far as I know, torrent uses µTP, which is based on UDP ... UDP is not accessible through the AIR API ... you may want to embed a small Java applet (within a HTMLLoader, which is off the display list) ... signed Java applets can bind ports and do UDP ... so you'd basically let the Java applet do the networking, and bind a TCP port, through which the AIR runtime can communicate with the applet ... there are probably many Java torrenting libs out there ...

it's a bit questionable, whether it makes sense to use AIR at all, and not just have a pure Java solution, but I guess that's up to you ...

旧梦荧光笔 2024-08-12 10:07:25

AIR 可以通过 TCP 套接字读取/写入任意二进制数据,因此理论上 AIR 应用程序可以实现您喜欢的任何协议。但主要限制是 AIR 无法侦听传入连接,它只能发出传出请求。

我对 BT 协议一无所知,但评论者 Michael Madsen 表示 BT 客户端仍然可以在这种限制下工作,就像它们通常在路由器或防火墙后面的工作方式一样。如果是这样的话,那么我看不出有什么理由不能构建 AIR BitTorrent 客户端,但我不知道在这个方向上已经完成了任何工作。

AIR can read/write arbitrary binary data over TCP sockets, so in theory an AIR app can implement any protocol you like. The main limitation, though, is that AIR cannot listen for incoming connections, it can only make outgoing requests.

I don't know anything about the BT protocol, but commenter Michael Madsen says that BT clients can still work with this limitation, the same way they typically function behind routers or firewalls. If that's the case, then I can't see any reason why one couldn't construct an AIR BitTorrent client, but I don't know of any work that's already been done in that direction.

断爱 2024-08-12 10:07:25

这对于 Windows 来说不是问题,你可以使用 uToerrent,他们有一个用于 AIR 客户端的 API...

对于 Mac 和 Linux,你可以使用 Transmission...用于传输 这里是客户端

that isn't a problem for windows u use uToerrent they have a API for a AIR Client...

For Mac and Linux can u use Transmission... For transmission here is the client

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文