A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Free Perl XML socket server in action

  1. #1
    Senior Member
    Join Date
    Jun 2000
    Posts
    687
    Here's a link to a Flash Chat that uses Perl to open up a socket connnection to any server on any port above 1024. The advantages are: 1) No installation, 2) Can be used on any server, host, computer etc that has perl installed and a cgi-bin. So basically any computer you can think of. 3) Everything is configurable change the port, change what is broadcasted change what is listened for- All you have is a good working knowledge of Perl. (I don't even have one and I can figure it out.) 4) It's free. I'll put a link to a small download soon.

    Over all if your like me and just want to see how the xml socket works and be able to see all the code and install it on any computer yourself this is a good learning script. But that's all it is a good learning script. It shows you how the xml socket works and you have all the code. It has serious short comings though.

    To Test it out click here: [url]
    You have to start the server manually though if no one else is using hit. Do this by hitting the refresh connection button. A small pop-up window should appear saying "chat started" Because no one else uses this try opening up two different browsers to the same link and talking to yourself. If the connection fails after a couple mins close the small pop up window then hit the refresh connection button again. Overall the chat sucks but the code is free and shows you the basic of an xml socket. (The code is based of the moock chat (converted to perl) and also from some other free perl script). I just modified it.

    -Jeff.
    [Edited by snowdude on 05-09-2001 at 04:22 AM]

  2. #2
    I think is great I have been looking for something like this scince I´m not able to set up a java server, I think is a great work, definitly congratulations. I would like to see that files as you said you will put that link for download. please let me know when is it available.

    thx in advanced

    phyroslam

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    687

    Hey Here's some code for you it's from another post on this board. It works good. but like always you have to have a free port above 1024. And if your isp won't let you set up a java server then they probably won't have a free port above 1024 you can use. (but you can actually get the perl servers to work even is that's the case - they just don't run for ever). If you have apache or IIS w/Perl installed on your home computer there really really easy to use.

    (1st set of code from Neeld or something- It works good but not that advanced).
    View the code
    http://oc.xfactorstudio.com/download.../chatserver.pl
    download the code and a simple flash app
    http://oc.xfactorstudio.com/download...t/perlchat.zip

    More links to Perl server code:
    The chat client is based on the moock chat client.
    The source is available at http://www.moock.org

    (A really good one). The PERL server was developed by Torray Wallace.
    The server is available at http://www.torraywallace.com

    From these links you should be able to set up the server fairly easily. There a good place to start. I've been working on a modified version that does a lot more, and maybe someday i'll get around to posting it. The code and the servers make learning the whole xml socket connection thing a ton easier to learn.

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