I think that "Security.allowDomain( "remoteservername" );" is not for socket connection, but any way I try it and its not working, I am getting the same error...
I had the same problem with XMLSocket and I used a policy server that runs
on the remote server on port 843 and from Flex I load file before connecting
the xmlsocket Security.loadPolicyFile("my server address:843"). If you want
I can upload a version of my policy server or you can use the server policy
Also you can read here more about file policy:
On Thu, Aug 19, 2010 at 5:40 PM, ILikeMyScreenNameNdCoffee <firstname.lastname@example.org