I've got a pretty bare-bones socket server written with SFML. I can connect and communicate with the server when using a client written with SFML.
I want to be able to communicate with the server using a client written in Flash. So far, my Flash client is able to connect to the server, but it doesn't get any further than that because Flash is waiting for a 'cross domain policy' file (xml) from the server to validate some networking stuff.
Anyone come across this and, if so, how do you handle this? I would imagine when a connection with the client is first established, I could try having the server send the xml file to the client.
Here is what my xml file looks like:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" to-ports="*" />
</cross-domain-policy>