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, etc. However, there's a problem. Upon calling Socket.connect(), the flash player (9.0.115...
Are XMLSockets available in Flash Lite, and if yes in which versions, and are there differences between the regular and the lite objects? Thanks!
...
I'm helping a customer who has a problem with a flash app. The flash app uses an XMLSocket to connect to a service running on localhost. It works fine under firefox.
It uses the following line to setup the security policy:
System.security.loadPolicyFile("xmlsocket://localhost:10032");
Running the flash app under firefox, the service ...
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 server seems to get a new connection. But, the XMLSocket.onConnect callback is not called ...
i am writing a flash app that receives its data over a XMLSocket. On the testmachine that worked really fine, but now the data will be ssl secured. Is there any XMLSSLSocket or something similar available? If not XMLSocket a normal SSLSocket would be a great help as well.
...
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 way to tell Flash player that we're talking about sockets when using the loadPolicyFile() m...
I have a XMLSocket and I call send twice in the same function. The first send works but the second does not? Does XMLSocket have a restriction to only send one message per frame? Do I have to queue messages and have an onEnterFrame function that checks the queue and sends one message for a frame?
...
Hi,
I'm creating a Flash movie which uses an XMLSocket as one of the methods it connects to the server. At the moment I am trying to test this movie and check that the connection works.
The problem I'm having is that I cannot establish a connection between the movie and the website via the XMLSocket. I am testing this on my local machi...
I have a server that I have written in Python and I'm trying to connect to it via Flash's XMLSocket. I know for sure that this server is working properly as I have used it successfully with multiple non-Flash client applications. For right now, I just want to connect to the remote server with an SWF residing on my local disk. From what I...
I'm attempting to connect an xmlsocket to a java server using actionscript 2.
I can get it to work fine in "Test Movie", but in a browser I'm having problems with the cross domain policy file. The server app receives the request for the policy file and responds to it with the XML content of the file, but when debugging it claims the req...
Hi all,
I have a project which tries to send an XML using XMLSocket to a server listening to it on the other side.
The application file is:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import MyC...
I'm trying to get a VB.net (express 2010) app to connect to a socket server (keeping the connection open), how would I go about this? Right now it works using flash XMLsocket, I'm trying to build a new client without flash, using the existing server.
Currently I'm just using a simple window displaying messages, and a place to send messa...
Hello I believe my flash client is losing some packets the server sends, because some packets get joined together hence I believe it drops them.
Here is my packetHandler in flash
private var xmlsock:XMLSocket;
this.xmlsock = new XMLSocket();
xmlsock.connect("127.0.0.1", 1234);
this.xmlsock.addEventListener(DataEvent.DATA, this....
Hi everyone, we've developed a tailored server in .NET to host some basic chat/IM functions for our website, and the client is written in Flex (AS3) using XMLSocket.
Now we have 2 servers, one dedicated to purely sending policy files, and one handling IM/Chat functions.
Problem is, we can see the client connecting, the policy file is s...