AS3 / Java - Socket Connection from live Flash to local java

Posted by PitchBlackCat on Stack Overflow See other posts from Stack Overflow or by PitchBlackCat
Published on 2010-06-01T15:26:36Z Indexed on 2010/06/01 17:53 UTC
Read the original article Hit count: 192

Filed under:
|
|
|
|

Hey guys,

I'm trying to get a live flash that lives on a webserver to talk to a local java server, that will live on the clients PC.

I'm trying to achieve this with a socket connection. (port 6000) Now, at first flash was able to connect, but it just sends <policy-file-request/>. After this nothing happens.

Now, some people at Kirupa suggested to send an cross-domain-policy xml as soon as any connection is established from the java side. http://www.kirupa.com/forum/showthread.php?t=301625

However, my java server just throws the following:

End Exception: java.net.SocketException: Software caused connection abort: recv failed

I've already spend a great amount of time on this subject, and was wondering if anyone here knows what to do?

© Stack Overflow or respective owner

Related posts about java

Related posts about flash