socket policy flash help
paul at subsignal.org
Sat Aug 1 11:28:32 CEST 2009
> I need help on the policy to able to let access to user to the server
> once the policy access is finish. I been trying to find a good
> example, but I got no luck. Using python version 3.1.
> Here the code I tested but it not working.
> if str(buff) == str("b\'<policy-file-request/>\\x00\'"):
> print ('policy FOUND >>> sending...')
> rawinput = str('<?xml version=\"1.0\"?><cross-domain-policy><allow-
> access-from domain=\"*\" to-ports=\"*\" /></cross-domain-policy>')
> print (rawinput)
> b = bytes ( ord(c) for c in rawinput)
And the error is? Doesn't Flash use http as transport?
More information about the Python-list