Stumped again. I've a php socket server, and a flash 9/AS3 swf app. And
I'm testing both on both linux and Windows. The swf is trusted (on both
linux and windows)(See this blog entry on trusting swfs.).

The problem is that the flash 9 swf on windows cannot properly connect
to the php socket server on windows. What is stumping me is that every
other combination works:
Flash 9 from win to linux server: OK
Flash 9 from linux to win server: OK
Flash 9 from linux to linux server (localhost): OK

I also have an old Flash 8/AS2 version of the app, on windows. It can
connect to windows localhost server okay. Telnet from either windows
(localhost) and linux can both connect to the windows server OK too.
In other words only the configuration required for production-use
(windows server with flash 9 on same windows machine) does not work.
Insert a really juicy swear word here.

What is the problem behaviour? In the flash client it says it has
connected properly. No other messages. On the server side it says
nothing; only when I kill the flash client do I get a bunch of log entries:
Client connected
Sending data
ERROR: failed socket_read from client so closing socket. Last socket
error: An established connection was aborted by the software in your
host machine.
Client disconnect: read failed

While flash is running netstat shows the connection as "ESTABLISHED".

Googling says it is the firewall or virus scanner in the way. I've now
switched off everything, and the problem remains. But I don't think it
could be that anyway, because connections from Flash 8 and telnet work.

It has to be something specific to Flash 9 on windows, when connecting
to a windows server (or when connecting to localhost).

Anyone else seen something like this? Thanks in advance!

Darren

P.S. This mysql bug report says pooling caused it:
http://bugs.mysql.com/bug.php?id=6634
But I'm not doing anything sophisticated like that.

-- 
Darren Cook, Software Researcher/Developer
http://dcook.org/mlsn/ (English-Japanese-German-Chinese-Arabic
                        open source dictionary/semantic network)
http://dcook.org/work/ (About me and my work)
http://darrendev.blogspot.com/ (blog on php, flash, i18n, linux, ...)

Reply via email to