Hi German,

I don't understand in general why you want to use the class:
flash.net.Socket
Why not simply use the rtmpconnection to test rtmp/rtmpt/rtmps ports?
Not only will you not need to go through the process of the creating
another implementation using Sockets but also Sockets might be handled
different from an rtmpconnection.
For example a flash.net.Socket could behave different because there might
be packet filters that filter rtmp traffic or a proxy server that filter
rtmp traffic different then a plain Socket connection.

So why not simply using the regular rtmp-connection and do the port test
that way?

Sebastian

2012/5/21 Alexei Fedotov <[email protected]>

> German, if this could be helpful. Does server send policy.xml file back to
> your client when it requests it? This can be checked via telnet.
> 21.05.2012 19:05 пользователь "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]
> > >
> >
>



-- 
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