DIRECTOR“TCP/IP 套接字服务器/客户端”

发布于 2024-08-19 17:46:00 字数 926 浏览 6 评论 0原文

Director 可以作为创建套接字客户端的选项吗? 我的客户端需要接受服务器命令;帧速率、启动等。Director

似乎是为控制电影而设计的。我办公室有 Director 11.5。有行话专家可以提供建议吗?

与客户互动
服务器==>XML PACKET==>客户端==>swf 在给定的帧和持续时间上播放


链接
http://www.adobe.com/support/director/multiuser.html
http://www.adobe.com/products/director/multiuser/< br> http://smbus.org/specs/
http://opensmus.sourceforge.net/

刚刚找到这个
http://www.director-online.com/buildArticle.php?id= 1158

Would Director be an option for creating a socket client?
My client needs to accept server commands; frame rate, start etc.

Director seems like it was made for controlling movies. I've got Director 11.5 at the office. Any lingo experts that could advise?

Interaction with client
SERVER==>XML PACKET==>CLIENT==>swf plays on given frame and duration


Links
http://www.adobe.com/support/director/multiuser.html
http://www.adobe.com/products/director/multiuser/
http://smbus.org/specs/
http://opensmus.sourceforge.net/

Just found this
http://www.director-online.com/buildArticle.php?id=1158

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

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

发布评论

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

评论(1

风启觞 2024-08-26 17:46:00

Director 本身不支持创建套接字连接。

有一个 Xtra 用于使用文本连接与服务器进行通信,称为 Multiuser Xtra。它不提供全套套接字命令,但它允许您打开到任意服务器的连接并来回发送消息。它有两种模式:一种仅使用原始文本连接(类似于 telnet,并且需要您基本上部署自己的服务器),另一种通过专有的 SMUS 协议与“Shockwave 多用户服务器”进行通信。 “Shockwave Multiuser Server”提供匹配、向群组转发消息等服务,但 Adob​​e 已不再支持它,因此我敢打赌,大多数 Director 开发人员对基于其的任何长期项目都会感到不安。有第三方替代方案可用,例如 OpenSMUS,但您仍然需要依赖 Adob​​e 来继续支持Xtra。

如果您想继续沿着这条路走下去,我建议您访问 OpenSMUS 站点 - 那里有一个社区和代码示例。

另一种可能性是通过 Flash 对象进行联网并将 Flash 对象嵌入到 Director 中。由于您有 Flex/as3 背景,显然这对您来说可能是更好的迁移 - 您可以在 Flash 中完成网络工作,并在 Director 中构建客户端的其余部分。这可能是您最好的选择,特别是如果您已经为您的项目构建了一些基于 Flash 的基础设施。

Director does not natively support creating socket connections.

There is an Xtra for communicating with servers using text connections, called the Multiuser Xtra. It doesn't provide a full suite of socket commands, but it will allow you to open a connection to an arbitrary server and send messages back and forth. It has two modes: one that uses just a raw text connection (similar to telnet, and would require you to essentially roll your own server), and one which talks to the "Shockwave Multiuser Server" via the proprietary SMUS protocol. The "Shockwave Multiuser Server" provides services like matchmaking, forwarding messages to groups, etc., but it has been de-supported by Adobe, so most Director developers, I'd wager, are skittish on basing any long-term projects on it. There are third-party alternatives available such as OpenSMUS, but you'd still be dependent on Adobe to continue supporting the Xtra.

If you want to continue down this path, I'd recommend going to the OpenSMUS site - there's a community and code samples available there.

Another possibility is to do your networking through a Flash object and embed the Flash object into Director. Since you're coming from a Flex/as3 background, apparently, that might be a better migration for you - you could do the networking stuff in Flash, and build the rest of your client in Director. This might be your best bet, especially if you already have some Flash-based infrastructure built for your project.

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