It is from actionscript documentation (
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/Socket.html
):

   - In Flash Player 9.0.124.0 and later, a socket policy file is required
   for any socket connection. That is, a socket policy file on the target host
   is required no matter what port you are connecting to, and is required even
   if you are connecting to a port on the same host that is serving the SWF
   file.
   - In Flash Player versions 9.0.115.0 and earlier, if you want to connect
   to a port number below 1024, or if you want to connect to a host other than
   the one serving the SWF file, a socket policy file on the target host is
   required.
   - In Flash Player 9.0.115.0, even if a socket policy file isn't
   required, a warning is displayed when using the Flash Debug Player if the
   target host doesn't serve a socket policy file.

I use Flash Player 11.2.202.235 :)

German.

2012/5/21 German Grekhov <[email protected]>

> Sebastian, thanks for the response.
>
> Yes, I know it, and I try to connect exactly to the server which the swf
> is from.
> But anyway I receive the error.
>
> German.
>
> 2012/5/20 [email protected] <[email protected]>
>
> Bottom line is: You should not need that file except you are developing on
>> different servers. Otherwise you simply develop on localhost (while
>> measuring the ping time from localhost to localhost makes hardly sense of
>> course)
>>
>> Sebastian
>>
>> 2012/5/20 [email protected] <[email protected]>
>>
>> > We already have a crossdomain.xml in our repository and it ships with
>> > every release:
>> > http://demo.openmeetings.de/crossdomain.xml
>> >
>> > Anyhow, you should _not_ need it. There is only a problem if the network
>> > testing tool tries to connect to a server different from what it was
>> > loading from.
>> > But actually the testing tool should connect to the server it has been
>> > loaded from.
>> > I mean: What do you want to test? The ping time to our infrastructure OR
>> > the ping time of the actual setup that the user is really using? So
>> > actually your Network testing tool should simply ship with every
>> release of
>> > Openmeetings, load similar to our existing app and connect to the
>> server it
>> > has been loading from.
>> >
>> > Sebastian
>> >
>> >
>> > 2012/5/20 German Grekhov <[email protected]>
>> >
>> >> Hello!
>> >>
>> >> I develop the network testing tool and my current task is to create the
>> >> port availability test. I try to make it using "flash.net.Socket". But
>> >> when
>> >> it connects to some port then the application receives the
>> SecurityError
>> >> 2048. As I understand I need to set up some crossdomain.xml file. Does
>> >> anybody know how to deal with it? Thank you!
>> >>
>> >> Best regards,
>> >> German Grekhov.
>> >>
>> >
>> >
>> >
>> > --
>> > Sebastian Wagner
>> > https://twitter.com/#!/dead_lock
>> > http://www.openmeetings.de
>> > http://www.webbase-design.de
>> > http://www.wagner-sebastian.com
>> > [email protected]
>> >
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.openmeetings.de
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> [email protected]
>>
>
>

Reply via email to