rtmfp - NetConnection.Connect.Failed - 无法得到错误(kaspersky设置)

时间:2013-07-06 19:22:02

标签: actionscript rtmfp netconnection

我正在开发一个动作脚本p2p应用程序。一切正常,直到今天。

这是我的代码:

            private function initConnection():void{
                nc = new NetConnection();
                nc.maxPeerConnections = maxPC;
                ExternalInterface.call("alert",maxPC);
                nc.addEventListener(NetStatusEvent.NET_STATUS, ncStatus, false, 0, true);
                nc.connect(SERVER_ADDRESS);
            }

            public function ncStatus(event:NetStatusEvent):void {
                if (event.info.code == "NetConnection.Connect.Success") initSendStream();
                else if (event.info.code == "NetStream.Connect.Closed") {
                    if (event.info.stream.farID) onPeerDisconnect(event.info.stream.farID);
                }
                else if (event.info.code == "NetConnection.Connect.Failed") ExternalInterface.call("p2pError", "conFailed")
                else ExternalInterface.call("p2pError", "conFailedUnknown");
            }

我总是让它奏效。密钥和rtmfp-server地址是正确的。

我无法理解为什么我总是有“NetConnection.Connect.Failed”。

我在互联网上搜索这个问题。可能的解决方法是关闭防火墙。但它一直在我的电脑上关闭。

所以我不知道该怎么做......

有什么建议吗?

任何有用的帮助!

编辑:好吧,伙计们,我刚刚解决了这个问题。我得到卡萨斯基过期的许可证。所以我把它关掉但没有删除。刚关掉几分钟前我删除了它,一切都开始正常。但我仍然对卡巴斯基可能改变的设置感到好奇。所以问题仍然存在。

1 个答案:

答案 0 :(得分:0)

好吧,这次似乎发生了铸造。卡巴斯基没有办法解决这个问题。 adobe卷云服务器停机了几天。