未收到与LT;政策性文件的请求/>开弦从闪存安全套接字时政策性、闪存、未收到、文件

2023-09-08 15:16:13 作者:可爱多又多

我有一个应用程序试图打开一个Web服务器上的安全套接字连接。我主持了一个小的code表示服务器端口843作为是为了使套接字连接所需的Flash Player中的策略文件。但我不接受指定的字符串<政策性文件的请求/> ,代替它我得到在安全发送到端口443的第一个字符串套接字连接。

I have an app that is trying to open a secure socket connection on a web server. I hosted a small code that servers the policy file on port 843 as is required by flash player in order to make the socket connection. But i am not receiving the specified string <policy-file-request/>, in place of it i am getting the first string that is sent to port 443 during secure socket connection.

该卡插槽策略服务器正在采取更多的时间比实际开发过程中。 请提供一些线索。

This flash socket policy server is taking more time than actual development process. Please shed some light.

推荐答案

它看起来像,以服务策略文件,以确保插座必须打开服务器端安全套接字,一个正常的TCP套接字不会帮助。虽然我仍然不知道为什么我们还要为通过SSL策略文件,它只是一种方法来检查是否允许连接。无论如何,如果你被卡住继续前进,实现对服务器端的安全套接字。

it looks like in order to serve a policy file to secure socket you have to open secure socket on server side, a normal tcp socket wont help. Although i still have no idea why do we have to serve the policy file over SSL, it's just a way to check if the connection is allowed. anyway if you are stuck go ahead and implement a secure socket on server side.