AIR 应用程序无法启动 ServerSocket 然后发布
我遇到了奇怪的问题,然后我在开发模式下测试 AIR 应用程序 - 它创建了工作 ServerSocket 对象。并正常充当服务器。 如果我将其打包为 AIR 应用程序并安装在 Windows 上,它会停止工作 - 未在指定端口上创建服务器...
代码: svn checkout http://logmaster.googlecode.com/svn/trunk/
是不是沙盒问题?怎么解决呢...? 或者可能是因为我使用的是生成的证书?
感谢您的帮助。
I have strange problem, then I test AIR application in Dev mode - it creates working ServerSocket object. And acts as a server normally.
If I package it as AIR app and install on windows it stops working - server is not created on designated port...
CODE:
svn checkout http://logmaster.googlecode.com/svn/trunk/
Is it sandbox problem? How to solve it...?
Or may it be because I am using generated Certificate?
Thanks for your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现了问题。
看起来启动服务器 AIR 需要用户输入。将服务器创建放入鼠标单击处理程序解决了该问题。
感谢您抽出时间。
I found the problem.
It looks like to start server AIR needs user input. Putting server creation to mouse click handler solved the problem.
Thanks for your time.