A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 27 of 27

Thread: XMLSocket Setup

  1. #21
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    The main object is to be listening for the server response and then give it the reply IT WANTS, they do work by the way.

    There are also php/flash sockets or java/flash sockets and others to boot. you just need the response.

    [Received]: <cross-domain-policy><allow-access-from domain="fruitbeard.net" to-ports="*" /><allow-access-from domain="*.fruitbeard.net" to-ports="*" /></cross-domain-policy>

  2. #22
    Client Software Programmer AS3.0's Avatar
    Join Date
    Apr 2011
    Posts
    1,404
    I understand the swf tells the server <policy-file-request/> and the server is supposed to give it

    <cross-domain-policy>
    <allow-access-from domain="*" to-ports="*" />
    </cross-domain-policy>\0 but it seems like the server doesnt even get a message from the swf
    Last edited by AS3.0; 06-12-2015 at 06:17 PM.

  3. #23

  4. #24
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    Just says no connection made.

    You should add some more listeners to youtr code Alloy,

    this one too.

    theSocket.onClose = function ()
    {
    conn_txt.text = "disconnected";
    }

    I'm not sure why you use port 843, thats just where flash listens first for its policy file, nothing to do with you being able to make a small chat feature
    Last edited by fruitbeard; 06-14-2015 at 03:33 AM.

  5. #25
    Client Software Programmer AS3.0's Avatar
    Join Date
    Apr 2011
    Posts
    1,404
    thx and because flash checks for the policy in the port first apparently, saves time and money.

  6. #26
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    HI,

    Congratulations Alloy, so what did you do differently to make it work in the end?

  7. #27
    Client Software Programmer AS3.0's Avatar
    Join Date
    Apr 2011
    Posts
    1,404
    After some debugging with a local tcp perl client I found that my port wasn't even open so always remember kidz forward yo portz befo yo wreck yo portz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center