2011年12月29日 星期四

c# socket server for flash

   string xml = "<?xml version=\"1.0\"?><cross-domain-policy><site-control permitted-cross-domain-policies=\"all\"/><allow-access-from domain=\"*\" to-ports=\"*\"/></cross-domain-policy>\0";

 if (msg.IndexOf("<policy-file-request/>") != -1)
                {
                    cb.SendMsg(xml, this.mTcpClient);
                }

沒有留言:

張貼留言