When I try to connect to the java server, the answer is policy-file-request. actually, when I transfer this file - the result is zero.

Here is the connection code in the as3 client itself

socket = new Socket(param1,param2); socket.connect(param1,param2); socket.addEventListener(ProgressEvent.SOCKET_DATA,sd); socket.addEventListener(Event.CLOSE,sc); socket.addEventListener(Event.CONNECT, connectHandler); socket.addEventListener(IOErrorEvent.IO_ERROR,sc); 
  • Cross domain policy (cross-domain-policy) for the server installed? - Alex Krass
  • The policy request for a file occurs on one port, (like 801), and your code does not participate in it (this is done by the flash player), data is exchanged on another (anyone, you have param2) which is in the java socket server settings. - ShockWave
  • those. I need a separate socket, with port 801 to transfer that file to the client? - SCpacker

0