Questions tagged [xmlsocket]

37 questions
5
votes
1 answer

ActionScript 3.0 sockets can't reconnect

I'm having trouble connecting (via the Socket and XMLSocket classes) to a TCP listener after a connect timeout. I have a flash applet that needs to maintain a TCP connection to a server. I have implemented timeouts using Timers, a ping-pong system,…
aib
  • 45,516
  • 10
  • 73
  • 79
3
votes
1 answer

Security Sandbox Violation: Lack of Policy File Permissions

I'm using as3httpclientlib to post data to my web service, but I'm continually getting the following security violation. Does anyone know how to resolve this? My crossdomain.xml file is below the security violation notice. NOTE: I'm using apache to…
2
votes
1 answer

How to solve Flex utf-8 encoding

I develop a facebook application using flex' s XMLSocket and Java. When i type 'ş' character in my client side, it prints, however when i send 'ş' character, it is printed as ??? or any kind of unpredictable characters. I tried to change my html…
2
votes
1 answer

What is the xmlsocket:// protocol?

This SO answer says "The Flash Player now looks for a policy file on port 843".. I have a policy server that is listening on port 843 which sends out an XML policy to Flash clients. Is this enough? What is the "xmlsocket://" protocol? Is it just a…
Robin Rodricks
  • 110,798
  • 141
  • 398
  • 607
2
votes
1 answer

Flash client XMLSocket not connecting to server

I have a Flash client that I want to connect to a server. Both are using localhost and port 50000 so there shouldn't be any cross-domain problems. I also set Access Network Only in the publishing settings. When I call the XMLSocket connect, the…
zooropa
  • 3,929
  • 8
  • 39
  • 61
1
vote
1 answer

ActionScript socket in Android

I have a Flash client application, written in ActionScript, which uses the XMLSocket class to talk to the server device via TCP/IP, on port 5750. So for example, I can run the Flash client in a browser and connect to a server which is on the…
Hew Wolff
  • 21
  • 2
1
vote
2 answers

Impossibility to connect to a java server with AS3

I'm having trouble with a XMLSocket script in AS3. I have a java server and i'm trying to send a XML data, but the server isn't recieving anything. The most suprising is that my script worked very well a month ago, and now my IOError listener…
Zeph
  • 25
  • 4
1
vote
1 answer

XMLSocket communication between localhost and example.com

I want to use XMLSocekt between localhost and example.com. SWF in localhost try to connect example.com, SecurityError occured. How can I use XMLSocekt between localhost and example.com?
certst
  • 41
  • 3
1
vote
1 answer

Flash client XMLsocket can't connect to python server

I have a flash client use XMLsocket to connect python server like this: Security.loadPolicyFile("xmlsocket://*.*.*.*:843"); socket = new XMLSocket(); socket.connect('*.*.*.*', 50000); socket.send('hello world'); I use this python script to send…
Malashenko
  • 11
  • 1
1
vote
0 answers

NodeJS data parsed differently when received in AS3

Good Evening, I'm currently testing AS3+NodeJS communication to delve into multiplayer games. I'm currently very experienced in Flash, but pretty new to NodeJS. The problem I have is that the data that Node sends is different to what Flash…
user3205578
1
vote
0 answers

AS3 XMLSocket unable to detect client-side disconnect

Within a Flex application (not AIR, but Flash player) I have an XMLSocket running, and for the life of me I can't figure out how to detect a client-side disconnect. As in, when I connect to a remote server from my computer, then disconnect the…
Michael Beeson
  • 2,840
  • 2
  • 17
  • 25
1
vote
1 answer

Netty Flash XmlSocket Message Receiving Error

I am creating my own flash game server in netty. I'm using flash policy server in the port 843 and game server port in the 8080... Also, I'm using zerodelimeter for framer; however, when i receiving messages on the flash client, i got two messages…
Emrah Ayanoglu
  • 466
  • 2
  • 6
  • 16